0

每次我运行命令时,CVS2Git 都会生成空白转储文件:

 ./cvs2git --blobfile=git-blob.dat --dumpfile=git-dump.dat --username=NL475475-v --fallback-encoding='utf8' /cygdrive/d/NewIDM --sort="xsort.pl"

或者

./cvs2git --options=test.options --fallback-encoding utf-8 --sort="xsort.pl"

不知何故没有显示错误。输出显示:

 ----- pass 1 (CollectRevsPass) -----
 Examining all CVS ',v' files...
 /cygdrive/d/Projects/CVS_IDM/CVSROOT/checkoutlist,v
 /cygdrive/d/Projects/CVS_IDM/CVSROOT/commitinfo,v
 /cygdrive/d/Projects/CVS_IDM/CVSROOT/config,v
 /cygdrive/d/Projects/CVS_IDM/CVSROOT/cvswrappers,v
 /cygdrive/d/Projects/CVS_IDM/CVSROOT/editinfo,v
 ........
 ........

Done
Time for pass1 (CollectRevsPass): 9476 seconds.
----- pass 2 (CleanMetadataPass) -----
Converting metadata to UTF8...
Done
Time for pass2 (CleanMetadataPass): 0.402 seconds.
----- pass 3 (CollateSymbolsPass) -----
Checking for forced tags with commits...
Done
Time for pass3 (CollateSymbolsPass): 0.178 seconds.
----- pass 4 (FilterSymbolsPass) -----
Filtering out excluded symbols and summarizing items...
Done
 ........
 ........

Time for pass14 (SortSymbolsPass): 0.216 seconds.
----- pass 15 (IndexSymbolsPass) -----
Determining offsets for all symbolic names...
Done.
Time for pass15 (IndexSymbolsPass): 0.028 seconds.
----- pass 16 (OutputPass) -----
Time for pass16 (OutputPass): 0.082 seconds.

cvs2svn 统计:

Total CVS Files:              2441
Total CVS Revisions:         23076
Total CVS Branches:          59701
Total CVS Tags:             603994
Total Unique Tags:             671
Total Unique Branches:         165
CVS Repos Size in KB:       101343
First Revision Date:    Tue Nov 18 20:34:27 2008
Last Revision Date:     Tue Oct 15 12:02:09 2013

时间(秒):

9476   pass1    CollectRevsPass
   0   pass2    CleanMetadataPass
   0   pass3    CollateSymbolsPass
  58   pass4    FilterSymbolsPass
   1   pass5    SortRevisionSummaryPass
   0   pass6    SortSymbolSummaryPass
   0   pass7    InitializeChangesetsPass
   0   pass8    BreakRevisionChangesetCyclesPass
   0   pass9    RevisionTopologicalSortPass
   0   pass10   BreakSymbolChangesetCyclesPass
   0   pass11   BreakAllChangesetCyclesPass
   0   pass12   TopologicalSortPass
   0   pass13   CreateRevsPass
   0   pass14   SortSymbolsPass
   0   pass15   IndexSymbolsPass
   0   pass16   OutputPass
9537   total

从现在开始,我一直在尝试这个。请帮忙。

4

1 回答 1

0

自定义 perl 排序函数存在一些问题。我还尝试过来自http://unxutils.sourceforge.net/的 GNU 排序。但它不起作用。现在它可以使用最新更新(14-04-03 之后):UnxUpdates.zip 在同一页面。

于 2013-10-28T06:06:25.390 回答