我看到git svn fetch在我的Subversion存储库中找到分支时重复检索相同的Subversion修订版.我们使用标准的Subversion存储库布局,顶级/ trunk,/ tags和/ branches目录(git存储库是使用'git svn init -s'创建的).但是,有问题的分支通常是从主干内部的子目录而不是主干创建的副本.
git svn fetch输出通常看起来像这样:
r2537 = d5b22e956157af036d4112e42e8fb927e45758c8 (trunk)
M Enterprise/VC/libgc/SymbolVenue.cpp
r2538 = cfed4ca0491da0b732f32bfff72ba678450a0915 (trunk)
Found possible branch point: http://repo/prod_repos/trunk/Enterprise/VC => http://repo/prod_repos/branches/file_conversion, 2523
W: Refspec glob conflict (ref: refs/remotes/scripter@832):
expected path: branches/scripter@832
real path: trunk/Enterprise/Python
Continuing ahead with trunk/Enterprise/Python
W: Refspec glob conflict (ref: refs/remotes/trunk):
expected path: branches/trunk
real path: trunk
Continuing ahead with trunk
Initializing parent: file_conversion@2523
A gc/QuoteService.cpp
A gc/TestSuite.h
A gc/quote_svc.pro
A gc/QuoteService.h
.....
r1 = d349ed8cb2d76596fe2b83224986275be4600fad (QuoteSvcFix442@2698)
D gc/FixMessageLogger.h …