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

Re: Behavior when revision dates are out-of-order

From: Felix Wiemann <Felix.Wiemann_at_gmx.net>
Date: 2005-03-16 19:27:05 CET

Ben Collins-Sussman wrote:

> Subversion's ability to convert a -r{datestring} into a specific
> revision number is completely dependent on the repository revisions'
> datestamps being in chronological order. It does a binary search on
> the datestrings to hone-in on the specific revision.

OK. As a workaround, I wrote a patch which adds a --redate option to
cvs2svn, so that revision time stamps are set to the *current* date, not
the original commit dates.

See
<http://article.gmane.org/gmane.comp.version-control.subversion.cvs2svn.devel/947>.

svnadmin would probably a better place for a --redate option, but with
cvs2svn it was just particularly easy to implement (and sufficient for
my problem).

-- 
When replying to my email address, please ensure
that the mail header contains 'Felix Wiemann'.
http://www.ososo.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 16 19:56:43 2005

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

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