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

Re: svn log and revision date ranges

From: Keith Lawless <keith.lawless.lists_at_gmail.com>
Date: Mon, 12 May 2008 18:47:05 -0400

On Sat, May 10, 2008 at 7:12 PM, Davey, Sean <SDavey_at_broadviewnet.com>
wrote:

>
> According "Is subversion a day early?" since the update im looking for
> occurred on 2008-05-08, if i specify the next day the 9th without a
> timestamp it should give me the log message(s). I dont get any messages
> with the following command:
>
> G:\>svn log http://bvsubver/svn/oss/WebRelease/trunk -r "{2008-05-09}"
> ------------------------------------------------------------------------
>
> G:\>svn log http://bvsubver/svn/oss/WebRelease/trunk -r {2008-05-09}
> ------------------------------------------------------------------------
>
> G:\>svn log http://bvsubver/svn/oss/WebRelease/trunk -r {"2008-05-09"}
> ------------------------------------------------------------------------
>
>

Hi Sean,

Take a look at page 33 of the Subversion book for an explanation of what's
going on. I think if you
changed your URL to http://bvsubver/svn/ or something similar you would see
the results you expect.

The -r {date} format will resolve to the latest revision of your
*repository* that took place
before that date. However, if that revision only touched files elsewhere in
your repository,
and you provide a path, then you will get the "blank" log message.

Here's an example:

C:\>svn log http://svn.collab.net/repos/svn -r HEAD -v
------------------------------------------------------------------------
r31144 | epg | 2008-05-12 18:25:16 -0400 (Mon, 12 May 2008) | 2 lines
Changed paths:
   M /branches/1.5.x/STATUS

Vote for r31131.

------------------------------------------------------------------------

The most recent revision in the public svn repository was made in the
/branches/ directory.

C:\>svn log http://svn.collab.net/repos/svn/trunk -r HEAD -v
------------------------------------------------------------------------

So, doing an svn log against trunk, asking for the HEAD revision, returns
nothing.

C:\>svn log http://svn.collab.net/repos/svn/trunk --limit 1 -v
------------------------------------------------------------------------
r31143 | dlr | 2008-05-12 16:24:33 -0400 (Mon, 12 May 2008) | 1 line
Changed paths:
   M /trunk/subversion/libsvn_ra_serf/serf.c

* subversion/libsvn_ra_serf/serf.c (svn_ra_serf__get_dir): Fix formatting.
------------------------------------------------------------------------

However, limit can be used to return *something* from this directory. I
admit this doesn't
solve your problem, but hopefully will help you grok what is going on.

Keith
Received on 2008-05-13 00:47:30 CEST

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.