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

Re: unusual results with svn log

From: William Yardley <svn_at_veggiechinese.net>
Date: Mon, 21 Sep 2009 10:40:27 -0700

On Fri, Sep 18, 2009 at 04:52:28AM -0500, Ryan Schmidt wrote:
> On Sep 17, 2009, at 17:45, William Yardley wrote:
>
> > We are getting some situations (not all the time) where a particular
> > entry seems to keep showing up in the svn log messages, even when that
> > entry is no longer in the time range we're specifying. Is there
> > something wrong with the way I'm specifying the time?

> The first revision returned by "svn log -r A:B" will have a date
> before A. It could be one second before A, or it could be a year
> before -- whatever revision occurred immediately prior. If you don't
> want revisions outside of your specified range, ignore the first
> revision returned.
>
> For more information, read the box "Is Subversion a Day Early?" in
> this part of the book:
>
> http://svnbook.red-bean.com/en/1.5/svn.tour.revs.specifiers.html#svn.tour.revs.dates

But that specifically says:

 If you specify a single date as a revision *without specifying a time of
 day* [emphasis mine]..... If you want to include the 27th in your
 search, you can either specify the 27th with the time ({"2006-11-27
 23:59"}), or just specify the next day ({2006-11-28}).

So my reading is that if the exact time range is given, SVN should

Also, I haven't been seeing this behavior consistently with all repos -
using the same tools, *most* of our repos will only give me changes
within that window, and will return nothing if there was nothing in
that window.

[in a different repo, which, if it matters, is a subdirectory of the
repo itself]
$ svn log -v -r {"2009-09-20 00:00:00 -0700"}:{"2009-09-20
23:59:00 -0700"}
------------------------------------------------------------------------

Yet within another repo:
$ svn log -v -r {"2009-09-20 00:00:00 -0700"}:{"2009-09-20 23:59:00 -0700"}
------------------------------------------------------------------------
r1 | username | 2009-09-15 08:28:15 -0700 (Tue, 15 Sep 2009) | 1 line
[snip]

Simply ignoring the first two lines isn't an option -- I'm calling svn
log from within svn2cl, which is pulling it up in XML format, and
having it display all the changed paths.

w

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2397544

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-21 19:41:19 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.