On Fri, 13 Jan 2006, Marc Sherman wrote:
> Malcolm Rowe wrote:
> >
> > Still, changing the svn:date property from 'transaction creation date' to
> > 'transaction commit date' doesn't change much, does it, apart from the
> > cosmetic issue of preventing time from going backwards for long-running
> > transactions? We don't actually _rely_ on svn:date being a monotonically
> > increasing sequence anywhere, do we?
>
> I seem to recall that when dates are given as -r params, a binary search
> is used to resolve them to rev numbers. So if the revs are out of
> order, the wrong rev might be chosen. I can't recall where I read this,
> though.
>
See libsvn_repos/rev_hunt.c, svn_repos_dated_revision().
Note that the change doesn't "make sure" that the dates are monotonically
incrementing, since the server's clock might be changed... But it improves
the situation, at least.
Regards,
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 13 14:42:00 2006