subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: How to check out a project based on commit time rather than rev?
Date Sat, 19 May 2018 08:10:11 GMT
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.

Mime
View raw message