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

Re: svn log output doesn't seem to obey -r arguments

From: Larry Martell <larry.martell_at_gmail.com>
Date: 2007-05-01 22:16:18 CEST

On 5/1/07, Kylo Ginsberg <kylo.ginsberg@gmail.com> wrote:
> On 5/1/07, Larry Martell <larry.martell@gmail.com> wrote:
> > If I run this command:
> >
> > svn log -v URL -r {2007-05-01T02:00:01}:{2007-04-30T02:00:01}
> >
> > I get this output:
> >
> > ------------------------------------------------------------------------
> > r4019 | user@HERE.LOCAL | 2007-04-27 10:34:12 -0600 (Fri, 27 Apr 2007) | 2 lines
> > Changed paths:
> > M /Display.xml
> >
> > Check-in: 4/27/2007 10:33:49 AM
> > Fixed the Defects
> > ------------------------------------------------------------------------
> >
> > Why do I get that when it is outside of the date/time range specified?

> This is working as designed (but the design is a bit counter-intuitive
> in this case): that was the most recent revision as of the earlier
> date. I think you'll see rev 4019 if you specify -r {2007-04-30}
> (i.e. no range).
>
> http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.tour.revs.dates

Yes, it is very counter-intuitive. I need to get a list of everything that was
committed between a specified time period. It appears that there is
no way to get this information directly from 'svn log' without post-processing
it. Is that correct?

-larry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 1 22:16:34 2007

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.