[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

cvs2svn (6485) chooses wrong revision to create branch?

From: Mike Wilcox <mike_at_trouble.org.uk>
Date: 2003-07-18 00:06:32 CEST

Karl,

After removing the files that seem to cause my previous problem
(reported in http://www.contactor.se/~dast/svn/archive-2003-07/1208.shtml
and follow-up email), conversion runs through into pass5.

There it stops with the following:

$ python cvs2svn.py -s repos --no-prune cvsroot/<project>
...
<<< Started new txn, based on original revision 1559
      * editing path : branches/branch2/<blah>/file1 ... done.
      * editing path : branches/branch2/<blah>/file2 ...
svn: Filesystem has no item
svn: file not found: transaction `17b', path `branches/branch2/<blah>/file2'

 From cvs2svn-dump, the major points I can see leading up to this event are:

rev 1459: source of branch1
rev 1469: creation of 'branches/branch1'.
rev 1544: source of branch2
rev 1556: creation of 'trunk/<blah>/file2'
rev 1558: first creation of 'branch2', from trunk at 1544.
           Some deletion & addition/changes, but nothing to file2.
rev 1559: attempt to edit 'branches/branch2/<blah>/file2'.

The CVS Repository has a revision 1.1 of file2, whose timestamp matches
(-ish) the rev 1556 creation, and a rev 1.1.2.1 whose timestamp matches
the update in 1559. The definition of the symbol for branch2 is 1.1.0.2.
I don't think cvs2svn has lost any revisions inbetween.

 From this, I have some suspicion that cvs2svn has created the copy of
branch2 from the wrong place - it should have been at least rev 1556.

However, the CVS repository is huge, and I haven't been able to prune it
down to something that will be able to help identify the cause of the
problem. And at 150 minute run-time, it's too much for trial-and-error :-(

Any clues as to how I could add extra debugging to cvs2svn, or how to
selectively whittle down the CVS repository?

Cheers,

    Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 18 01:31:33 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.