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

Re: cvs2svn (was: [OT] svn at the ASF)

From: <gstein_at_lyra.org>
Date: 2003-01-23 04:01:55 CET

On Wed, Jan 22, 2003 at 09:41:45PM -0500, Eric Gillespie wrote:
...
 Erp. One of my repositories is exactly like this. I imported a
 CVS repository into an existing svn repository, so it has many
 revisions, then suddenly jumps back a few years and the next
 thousand or so revisions move forward to the present and then the
 rest of the revisions are normal. I have not had any problems
 with this repository, and i think i've even dumped and restored
 it once.
 
 Aside from the obvious luser problem, is my repository actually
 broken? I hope not...

If you try and check out by date, or get a log from near a specific date, or
similar... those won't work properly. We use a binary search across the
revisions to find the revision matching the requested date. Binary searches
tend to fail on unordered data... :-)

But the repository itself is just fine.

/me thinks that a warning in cvs2svn would be appropriate here... hm...
even better: don't allow it unless you pass --screwy-dates :-)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:08:29 2006

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.