statsvn问题

48 views
Skip to first unread message

ccmjs

unread,
Mar 15, 2011, 5:02:52 AM3/15/11
to Config...@googlegroups.com
您好,有个关于statsvn的问题想请教下。
我的操作如下:
statsvn.jar放在F:\cc下)
C:\Users\cc>F:
F:\>cd cc
F:\cc>mkdir fiscode
F:\cc>cd fiscode
F:\cc\fiscode>svn checkout https://192.168.0.242/svn/fis/Fis/src/tags/6.0.6.5_1318/Client
成功后
F:\cc\fiscode>svn log --xml -v https://192.168.0.242/svn/fis/Fis/src/tags/6.0.6.5_1318/Client > f:\cc\fiscode\fis.log
F:\cc\fiscode>cd ..
F:\cc>java -jar statsvn.jar   f:\cc\fiscode\fis.log    f:\cc\fiscode
出现错误:
2011-3-9 13:35:59 net.sf.statsvn.util.JavaUtilTaskLogger info
信息: StatSVN - SVN statistics generation
2011-3-9 13:36:01 net.sf.statsvn.util.JavaUtilTaskLogger info
信息: svn: '.' is not a working copy
2011-3-9 13:36:01 net.sf.statsvn.util.JavaUtilTaskLogger error
严重: Repository root not available - verify that the project was checked out wi
th svn version 1.3.0 or above.

改后:
F:\cc>java -jar statsvn.jar f:\cc\fiscode\fis.log f:\cc\fiscode\Client
2011-3-9 14:32:54 net.sf.statsvn.util.JavaUtilTaskLogger info
信息: StatSVN - SVN statistics generation
Parsing SVN log 'f:\cc\fiscode\fis.log'No exclude pattern
Scheduled 0 svn diff calls on 0 threads.
Generating report for /Fis/src/tags/6.0.6.5_1318/Client into
Using default CSS file (objectlab-statcvs.css)
memory usage After Build: 2580.0 kb
The repository object is not valid. Please check your settings.
Possible reasons:
1/ Did you use the option -v to create the SVN log
2/ Is the log file empty?
3/ Do you run from a checked out directory (you should)?
4/ Do you have non-committed items?

赐教下?



lao fo

unread,
Mar 15, 2011, 9:58:15 PM3/15/11
to config...@googlegroups.com

1/ Did you use the option -v to create the SVN log
2/ Is the log file empty?
3/ Do you run from a checked out directory (you should)?
4/ Do you have non-committed items?

这四个建议的方法你都尝试过了么?

2011/3/15 ccmjs <cc...@126.com>
--
感谢您订阅了"软件配置管理(CN)" Google讨论组.
 
如果想和大家交流,请发送email到
Config...@googlegroups.com
 
取消订阅,请发送email到
ConfigMgmt-C...@googlegroups.com
 
更多的信息,请浏览讨论组主页
http://groups.google.com/group/ConfigMgmt-CN?hl=zh-CN

ccmjs

unread,
Mar 16, 2011, 1:16:56 AM3/16/11
to config...@googlegroups.com
尝试过了。都没问题。
另外第一个出现的问题“严重: Repository root not available - verify that the project was checked out with svn version 1.3.0 or above.”
 
具网上说,需要服务器、客户端svn版本一致。
我服务器版本为 1.4.2
客户端为:TortoiseSVN 1.6.5
 
由于服务器上的东西都很重要,svn版本我不敢升级,只好下载TortoiseSVN 1.4.2。
据说这个TortoiseSVN 1.4.2存在安全漏洞,不知可不可以用?

本机上还需装SVN的命令行程序CollaCollabNet Subversion Edge 1.3.2 (for Windows 32 bit)

是否也得装更高版本的?

lao fo

unread,
Mar 16, 2011, 2:32:40 AM3/16/11
to config...@googlegroups.com
这个问题已经发布到了下面的地址,欢迎来讨论。

http://bbs.scmroad.com/viewthread.php?tid=22056&extra=page%3D1

FYI

2011/3/16 ccmjs <cc...@126.com>

孙志祥

unread,
May 9, 2011, 1:56:20 AM5/9/11
to config...@googlegroups.com
设想这样一种情形,某个SVN服务器,从使用到现在,SVN库的全局版本号已从1增至10000。

此时想把SVN进行缩减,提取SVN的某段历史,如svnadmin dump rep -r 6000:10000 --incremental > test.dump

此时想把test.dump组建为一个新的SVN库,并保留6000:10000这段时间的历史。

从我对SVN的了解,以及它的机制上来说,这种方法是不可取的。就好像把SVN架空了,成了空中楼阁,肯定滑踏!

不知道各位达人们,有没有好点的方法,实现如下

“此时想把SVN进行缩减,提取SVN的某段历史,如svnadmin dump rep -r 6000:10000 --incremental > test.dump此时想把test.dump组建为一个新的SVN库,并保留6000:10000这段时间的历史。”


ccmjs

unread,
May 9, 2011, 11:29:49 PM5/9/11
to config...@googlegroups.com
新建一个svn库,导入 6000:10000这段历史,应该是可以的吧,只是在Showlog时可能会有点问题。你试过了么?
Reply all
Reply to author
Forward
0 new messages