我对用git svn的克隆-s SVN克隆从svn的代码(在CentOS):// XXX,那么它被中断奇怪的问题,该错误消息如下:
Following parent with do_switch
Successfully followed parent
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/SVN/Core.pm line 584.
Network connection closed unexpectedly: at /usr/libexec/git-core/git-svn line 2693
然后我用继续这种克隆处理
time git svn fetch -r HEAD
所有的事情似乎进展顺利,并成功克隆了一个svn的最后:
W: -empty_dir: trunk/src/os/win32/ngx_gui.c
W: -empty_dir: trunk/src/os/win32/ngx_gui.h
W: -empty_dir: trunk/src/os/win32/ngx_gui_resources.h
W: -empty_dir: trunk/src/os/win32/ngx_shared.h
W: -empty_dir: trunk/src/os/win32/ngx_types.h
r4817 = 7b58fc00b5b8ebb0544053ecf63e53b28935f15b (refs/remotes/trunk)
Auto packing the repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
Counting objects: 12449, done.
Compressing objects: 100% (12177/12177), done.
Writing objects: 100% (12449/12449), done.
Total 12449 (delta 9475), reused 0 (delta 0)
Checked out HEAD:
svn://svn.nginx.org/nginx/trunk r4817
real 0m9.630s
user 0m6.015s
sys 0m1.870s
奇怪的问题是,有在我的本地git仓库没有标签是从svn的克隆:
[root@home nginx]# git branch
* master
[root@home nginx]# git tag // no tags at all:(
[root@home nginx]# svn ls svn://svn.nginx.org/nginx/branches | wc -l
7
[root@home nginx]# svn ls svn://svn.nginx.org/nginx/tags | wc -l
388
其实还有在svn的388个标签,所以如何解决我的本地git的回购?
我应该有从远程SVN服务器重启混帐克隆?
我已经尝试了很多次,同样的问题:(