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

Re: Specify dates instead of revisions?

From: Ben Gollmer <ben_at_jatosoft.com>
Date: 2002-11-25 02:26:38 CET

On Saturday 23 November 2002 13:19, Greg Hudson wrote:
> On Sat, 2002-11-23 at 07:12, Nuutti Kotivuori wrote:
> > svn log -r "{2002-11-20}:{2002-11-21}" http://svn.collab.net/repos/svn
> >
> > Atleast, relatively fine.
> >
> > It would seem there's a slight "bug" here. It shows me one entry
> > before the start time.
>
> This is consistent with our rules:
>
> "{DATE}", as a revision, means "the most recent revision as of DATE."
>
> -r R1:R2 means "from R1 to R2 inclusive."
>
> Certainly, users might expect date ranges to operate specially ("the
> revisions between these two dates"). But that's kind of an ugly special
> case.

Thanks guys. I wasn't using the curly braces.

Maybe something should be added to the cli help? Right now (0.15) it says

-r [--revision] arg : specify revision number ARG (or X:Y range)

-- 
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 25 02:27:21 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.