On 5/1/07, Larry Martell <larry.martell@gmail.com> wrote:
> 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
>
Yes, the svn log on date range is giving you exactly one more entry
than you want, so the post-processing consists of ignoring/deleting
that entry.
Kylo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 2 07:14:00 2007