Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CVSTrac 相关问题
» 咨询:cvstract统计新增文件的代码行数怎么都是0?
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 咨询:cvstract统计新增文件的代码行数怎么都是0?
雪儿
新警察
UID 42823
Digest Posts 0
Credits 32
Posts 12
点点分 32
Reading Access 10
Registered 2009-7-13
Status Offline
#1
Post at 2009-7-21 12:38
Profile
|
Blog
|
P.M.
咨询:cvstract统计新增文件的代码行数怎么都是0?
请教下,用cvstrac统计开发代码量
开发人员新增了一个文件,在filechng表中会对应的增加一条记录,麻烦问下为什么这条记录中的插入的代码行数(nins字段)是0呢,而不是新增文件的行数?
发现在fliechng表中,vers为1.1的时候,nins全部都是0,如果要可以统计出新增文件的代码行数,可以修改吗?这个要怎么操作?请指点,谢谢
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#2
Post at 2009-7-23 20:33
Profile
|
Site
|
Blog
|
P.M.
大致查了一下,nins 数据的更新在 cvs.c 中处理,cvstrac 使用 rlog 命令来取得 cvs 文件版本信息和修改行数,所以没有针对新增的文件统计行数。
因为 cnpack 只针对 cvstrac 做汉化和NT移植,不对软件本身进行修改,你可以选择向官网 cvstrac.org 报告,或者自己修改 cvs.c 中相关的代码。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
雪儿
新警察
UID 42823
Digest Posts 0
Credits 32
Posts 12
点点分 32
Reading Access 10
Registered 2009-7-13
Status Offline
#3
Post at 2009-7-28 08:47
Profile
|
Blog
|
P.M.
可是下载的源码中都找不到头文件,不知该如何编译,郁闷~~~
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#4
Post at 2009-7-28 11:34
Profile
|
Site
|
Blog
|
P.M.
linux下编译见cvstrac.org官方说明
win下编译见cvstracnt源码说明
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-10-5 18:14
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.007416 second(s), 8 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats