On Tue, 14 Feb 2006 21:25:45 -0800, Keith Packard wrote: > On Wed, 2006-02-15 at 17:11 +1300, Martin Langhoff wrote: > > > Did that lead to finding any problems with the import? Can I get my > > hands on that script you've written to run the comparison? > > The only issues we had were with manual changes to the repository; For anyone interested, here are the problems our script found after importing cairo with git-cvsimport: 1) Some "future" files existed at old tags since we had copied ,v files to preserve per-file history. This one was no surprise. 2) We had a couple tags in CVS that didn't tag the current head, (instead a file had been manually reverted before the tag). In the git checkout of the same tag name, we got the results as if HEAD had been tagged. Those two weren't too surprising. We remembered quite clearly what had happened as soon as we saw the results. I've fixed these up post-import by making git commits to fix the problems and then moving the tags. 3) There are some sub-tree tags in cairo's CVS tree as well. Obviously, those aren't very interesting for direct comparison. Also not surprising. For these, I just modified the script to whitelist the tags I actually cared about checking. 4) There was a branch that diverged from the main line two commits "late" in the git history. I'm not sure what caused this, but it's obviously happening in the cvsps output. I fixed the problem by capturing the cvsps output into a file, reordering the branching patchset up two positions in the list, then feeding the result into git-cvsimport with its -P option. I've attached the script I used to do the git and cvs comparisons. I was getting perfect results with a local rsync of cairo's CVS repository. The version here does a pserver checkout instead. When I run this I'm apparently getting different substitution of some of those annoying RCS $Id:...$ strings. Looks like the formatting of the date is different. So your mileage may vary. But here it is if its of any interest.