« Return to Thread: svn log get revisions by date

Re: svn log get revisions by date

by Larry Shatzer, Jr. :: Rate this Message:

| View in Thread

On Fri, Nov 14, 2008 at 10:07 PM, Eric White <eric.white07@...> 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@...
For additional commands, e-mail: users-help@...

 « Return to Thread: svn log get revisions by date