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

Re: What happens when revision numbers are not chronological?

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 30 Jan 2012 17:13:55 +0100

On Mon, Jan 30, 2012 at 11:06:19AM -0500, Alexander Shenkin wrote:
> Hi Folks,
>
> I've used an import script to import two bunches of files in the same
> repository. This import script sets the commit time of each file
> (svn:date property) to the original modified-time of the file. So, when
> I added the second batch of files, the dates associated with the
> revision numbers are no longer chronological. That is, rev 5 might have
> an svn:date of 1/1/2011, and rev 6 might have an svn:date of 1/1/2010
> for example.
>
> I'm not planning on doing anything overly complex with svn - i probably
> won't be branching or merging. However, I would like to be a little
> more educated about the risks that I am running. Anyone know?
>
> thanks!

See the warning at the bottom of this page:
http://svnbook.red-bean.com/en/1.7/svn.tour.revs.specifiers.html#svn.tour.revs.dates

Basically, you are confusing the binary search algorithm that is
invoked when you pass a date argument to the -r option. Other than
that, there is no harm.
Received on 2012-01-30 17:14:32 CET

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.