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

RE: revision dates for svn log

From: etienne studer <etienne.studer_at_canoo.com>
Date: 2003-05-26 19:24:48 CEST

Thanks for your explanations!

Aha. That's a surprise to me: svn log -r{DATE} does not tell me all changes
that are newer than this date, but it uses the revisison "active" at that
time to start with (unlike cvs).

You asked me if I deleted the file in example 3: no I didnt't. An empty log
output is returned because between the last rep. modification of the file
and the date specified in the svn log -r{DATE} a new rep. revision has been
generated (through an independend repository action).

Is this all as you expect it? To me it looks not very intuitive when working
with svn log and dates: in one case I get a log message and in the other
case I don't don't get a log message although both specified dates are after
the last repository modification of the file.

Etienne

> -----Original Message-----
> From: sussman@collab.net [mailto:sussman@collab.net]
> Sent: Montag, 26. Mai 2003 15:05
> To: etienne studer
> Cc: dev@subversion.tigris.org
> Subject: Re: revision dates for svn log
>
>
> "etienne studer" <etienne.studer@canoo.com> writes:
>
> > ex.1: why is 527 listed?
> >
> > svn log -r {"17 Apr 2003 15:57:50 +0100"}:HEAD
> > .../trunk/playground/fooBar.txt
> > ------------------------------------------------------------------------
> > rev 527: martin | 2003-04-17 15:24:47 +0100 (Thu, 17 Apr 2003)
> | 2 lines
> >
> > ------------------------------------------------------------------------
> > rev 528: martin | 2003-04-17 15:57:50 +0100 (Thu, 17 Apr 2003)
> | 2 lines
> >
>
>
> At 15:57:50, the latest revision of fooBar.txt was 527. Revision 528
> didn't exist yet. When a date is resolved into a revision, this
> "border" case rounds down.
>
> > ex.2: why is 528 listed?
> >
> > svn log -r {"17 Apr 2003 16:07:55 +0100"}:HEAD
> > .../trunk/playground/fooBar.txt
> > ------------------------------------------------------------------------
> > rev 528: martin | 2003-04-17 15:57:50 +0100 (Thu, 17 Apr 2003)
> | 2 lines
> >
>
>
> At 16:07:55, revision 528 was the latest revision of fooBar.txt, and
> it's *still* the latest revsiion of fooBar.txt.
>
>
> > ex.3: as expected!
> >
> > svn log -r {"17 Apr 2003 16:07:57 +0100"}:HEAD
> > .../trunk/playground/fooBar.txt
> > ------------------------------------------------------------------------
>
> I don't understand... did you delete fooBar.txt after 16:07:55?
> That would explain why you see no log mesage for fooBar.txt.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 26 18:25:45 2003

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.