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

RE: Re: Revision Dates Really Inclusive?

From: HAND,Nathan <Nathan.HAND_at_dewr.gov.au>
Date: 2004-11-01 06:46:36 CET

My intuition says that the left hand date should be measured from 00:01,
and the right hand date should be measured from midnight.

> -----Original Message-----
> From: Max Bowsher [mailto:maxb@ukf.net]
> Sent: Friday, October 29, 2004 6:32 PM
> To: John Florian; users@subversion.tigris.org
> Subject: Re: Revision Dates Really Inclusive?
>
>
> John Florian wrote:
> > The SVN book states, "You can also use a range of dates. Subversion
> > will find all revisions between both dates, inclusive", but I find
> > that when I perform 'svn -r {date1}:{date2} log' the first
> log entry
> > is prior to date1. If I try for one particular hour out of a given
> > day, I find much the same behavior: one extra log entry at the
> > beginning of the output -- this log entry is the one
> immediately prior
> > to the hour requested.
> >
> > How can I get true inclusive behavior?
>
> The problem is that svn interprets that as "the revision that
> was HEAD at
> midnight on date1" to "the revision that was HEAD at midnight
> on date2".
> Which is not a very intuitive interpretation. I think our date range
> matching needs redesigning.
>
> Max.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

Notice:
The information contained in this e-mail message and any attached files may
be confidential information, and may also be the subject of legal
professional privilege. If you are not the intended recipient any use,
disclosure or copying of this e-mail is unauthorised. If you have received
this e-mail in error, please notify the sender immediately by reply e-mail
and delete all copies of this transmission together with any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 1 06:47:12 2004

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.