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

Re: svn log get revisions by date

From: Larry Shatzer, Jr. <larrys_at_gmail.com>
Date: Mon, 17 Nov 2008 14:44:30 -0700

On Fri, Nov 14, 2008 at 10:07 PM, Eric White <eric.white07_at_gmail.com> wrote:
> Good day all,
> I am working on an application that uses information from an svn log between
> two dates. After searching around I have found the following is supposed to
> work (according to the SVN book)
>
> svn log --revision {2002-11-20}:{2002-11-29} URL
>
> I have tried this and although it does indeed give me results between the
> two dates, it also gives me many values outside that range.
>
>
> Try for example svn log --revision {2008-11-02}:{2008-11-04}
> http://svn.apache.org/repos/asf
> and you can grep 2008-01
>
> You will find a handful of lines that contain 2008-01-* which is quite
> clearly outside the range given. I am looking for values between November
> 2nd 2008 and November 4th 2008.
>
>
> You can even grep 2007 and you will find many entries that aren't even in
> the same year that I have specified.
>
> This is a problem. Now I can go ahead and double check the dates against the
> desired range. I can very easily exclude the January dates when the range is
> for November. But how do I know that I am actually getting all the results
> and not just a subgroup?
>
>
> Any insight would be appreciated!
>

Please see http://apache.org/dev/version-control.html#date-revisions

As well as http://svnbook.red-bean.com/en/1.5/svn.tour.revs.specifiers.html#svn.tour.revs.dates
(The sidebar "Is Subversion a Day Early?"

-- Larry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-17 22:44:48 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.