Dear Yasuoka San, and Stuart Henderson, > Last argument for cvs2gitdump should be a CVS repository, not source > code.
Thanks very much. It worked well. It took about 2.5 hours and generated 27GB of "git dump" data. box$ pwd /home/user/rsync box$ cvs2gitdump -k OpenBSD -e openbsd.org cvs0 > ob.dump ** walk cvs tree Ignore cvs0/ports/audio/opencore-amr/.git: cannot handle the path named '.git' Ignore cvs0/ports/devel/log4cplus/.git: cannot handle the path named '.git' ** cvs has 346530 changeset ** dumped box$ ls -l ob.dump -rw-r--r-- 1 user user 28981973872 Dec 25 01:19 ob.dump box$ du -h *.dump 27.0G ob.dump box$ ^D The git import also worked very well. Thanks. Script started on Mon Dec 25 01:29:43 2017 box$ pwd /home/user/rsync box$ ls -l total 56612448 drwxr-xr-x 7 user user 512 Dec 24 18:30 cvs0 -rw-r--r-- 1 user user 28981973872 Dec 25 01:19 ob.dump box$ file ob.dump ob.dump: ASCII English text box$ wc -l ob.dump 881911531 ob.dump box$ git init --bare git0.git Initialized empty Git repository in /home/user/rsync/git0.git/ box$ git --git-dir git0.git fast-import < ob.dump /usr/local/libexec/git/git-fast-import statistics: --------------------------------------------------------------------- Alloc'd objects: 3685000 Total objects: 3681554 ( 240725 duplicates ) blobs : 1405136 ( 231986 duplicates 1212707 deltas of 1391574 attempts) trees : 1929889 ( 8739 duplicates 1791569 deltas of 1901228 attempts) commits: 346529 ( 0 duplicates 0 deltas of 0 attempts) tags : 0 ( 0 duplicates 0 deltas of 0 attempts) Total branches: 65 ( 1 loads ) marks: 1073741824 ( 1983651 unique ) atoms: 163649 Memory total: 211233 KiB pools: 38499 KiB objects: 172734 KiB --------------------------------------------------------------------- pack_report: getpagesize() = 4096 pack_report: core.packedGitWindowSize = 1073741824 pack_report: core.packedGitLimit = 35184372088832 pack_report: pack_used_ctr = 192 pack_report: pack_mmap_calls = 64 pack_report: pack_open_windows = 1 / 1 pack_report: pack_mapped = 588175141 / 588175141 --------------------------------------------------------------------- box$ ^D Script done on Mon Dec 25 02:41:14 2017 This is my/user/operator error. I thought it would be good for cvs2gitdump to complain if user specified cvsrepo argument a. does not exist b. is not a directory c. does not have a CVSROOT subdirectory (I am assuming every CVS repository has one. I could be wrong). Then there is good chance the user is not making an error. So, I thought it might be a good idea to add that: https://github.com/yasuoka/cvs2gitdump/compare/master...hakrtech:master Kindly consider and let me know what you think. Thank you and Stuart Henderson for helping me get past this problem. Osoreirimasu. Thank you very much. Regards, Dinesh