subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <philip.mar...@wandisco.com>
Subject Re: Problems with selecting log revision by date: -r {yyyy-mm-dd}
Date Wed, 03 Dec 2014 13:45:23 GMT
Stefan Sperling <stsp@elego.de> writes:

> On Wed, Dec 03, 2014 at 12:22:02PM +0000, sebb wrote:
>> 
>> svn co --depth files https://svn.apache.org/repos/asf/subversion/trunk
>> subversion
>> 
>> $ svn log -l 10 subversion
>> -- this works OK
>> 
>> $ svn log -r {2014-11-30} subversion
>> ------------------------------------------------------------------------
>> $ svn log -r {2014-11-30T00:00:00} subversion
>> ------------------------------------------------------------------------
>
> Date search doesn't work on the ASF repository because svn:date properties
> of revisions aren't monotonically increasing.
>
> See the note at the very bottom of http://svnbook.red-bean.com/en/1.7/svn.tour.revs.specifiers.html#svn.tour.revs.dates
>

That's correct, but it is not the complete story.  The date search does
return a revision even if that revision is not "correct" is some sense.
However the date search works on the whole repository

   https://svn.apache.org/repos/asf

so the revision produced will often be one which didn't change
/subversion/trunk.  That means that an empty log is shown just like
it is for this

   svn log -r1643098 https://svn.apache.org/repos/asf/subversion/trunk

Even when a repository does have strictly mototonic dates using log with
a single date will often show a blank log on non-root paths within the
repository.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*

Mime
View raw message