On Jun 23, 2007, at 07:20, Karl Heinz Marbaise wrote:
> i'm a little bit confused, cause i'm trying to do some scripting with
> the following:
> (LC_ALL and TZ used, cause in germany i have different time zone).
>
>
> export LC_ALL=en_US;export TZ=UTC; \
> svn log -q http://svn.traveler/jagosi \
> --revision "{2007-06-21 00:00:00 +0000}":"{2007-06-21 23:59:59
> +0000}"
>
> What i get as output by the above command was the following:
>
> ----------------------------------------------------------------------
> --
> r61 | kama | 2007-06-19 16:26:34 +0000 (Tue, 19 Jun 2007)
> ----------------------------------------------------------------------
> --
> r62 | kama | 2007-06-21 17:11:46 +0000 (Thu, 21 Jun 2007)
> ----------------------------------------------------------------------
> --
> r63 | kama | 2007-06-21 17:13:24 +0000 (Thu, 21 Jun 2007)
> ----------------------------------------------------------------------
> --
> r64 | kama | 2007-06-21 18:14:49 +0000 (Thu, 21 Jun 2007)
> ----------------------------------------------------------------------
> --
> r65 | kama | 2007-06-21 18:26:09 +0000 (Thu, 21 Jun 2007)
> ----------------------------------------------------------------------
> --
>
> I didn't expect to get the revision 61, cause it's completley out
> of the
> range of the given timeframe...of June 21
>
> I have read in book may be i didn't understand that well,
> but i think this is a little bit confusing.
When you ask for revision "{2007-06-21 00:00:00 +0000}", Subversion
gives you the closest revision on or _before_ that date and time,
which is r61 in your case.
It's explained here, in the box titled "Is Subversion a Day Early?"
http://svnbook.red-bean.com/en/1.2/
svn.tour.revs.html#svn.tour.revs.dates
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jun 23 15:07:51 2007