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

Re: Problems with selecting log revision by date: -r {yyyy-mm-dd}

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 3 Dec 2014 14:00:41 +0100

On Wed, Dec 03, 2014 at 12:22:02PM +0000, sebb wrote:
> I cannot get the examples in the manual to work.
> They don't produce any output apart from the separator.
>
> Is this a known bug?
>
> How to reproduce:
>
> 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
> ------------------------------------------------------------------------
>
> This was tried on minotaur, using
>
> svn, version 1.7.9 (r1462340)
> compiled Jun 3 2013, 11:33:48
>
> I have the same problems with the following version
>
> svn, version 1.8.10 (r1615264)
> compiled Aug 11 2014, 11:33:45 on x86_64-apple-darwin13.0.0
>
> =================
>
> There's also a minor documentation error, the manual says:
>
> If you want to include the 27th in your search, you can either specify
> the 27th with the time ({"2006-11-27 23:59"}), or just specify the
> next day ({2006-11-28}).
>
> The phrase "the next day" should be "the previous day" or "the day before"

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
Received on 2014-12-03 14:01:15 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.