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

Re: How to check out a project based on commit time rather than rev?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 19 May 2018 08:10:11 +0000

Ryan Schmidt wrote on Fri, 18 May 2018 18:55 -0500:
> There is no need for a separate command because any command that takes a
> revision number can also accept a date and time. If no time is
> specified, the time is midnight. Subversion then uses the newest
> revision that precedes the given date and time.

To be more precise, dates are resolved to revision numbers using binary
search on the revisions space, comparing by the svn:date revprop's
value; that process can give different answers over time (as HEAD
increases) if the sequence of svn:date values isn't monotonically
increasing, which can happen, for instance, when doing 'svnadmin load'
into an existing repository.
Received on 2018-05-19 10:10:19 CEST

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.