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

Re: svn log timestamp bug?

From: Johnathan Gifford <jgifford_at_wernervas.com>
Date: 2006-05-24 15:35:08 CEST

On 5/24/06 8:13 AM, "Ryan Schmidt" <subversion-2006q2@ryandesign.com> wrote:

> On May 24, 2006, at 14:54, Johnathan Gifford wrote:
>
>>> When you do revisions by date/time, the current revision at the start
>>> time is what was reported. So, if at 2006-05-17T00:05, the current
>>> latest revision is what was checked in at 2006-05-16 17:18:43 -0500,
>>> that's what will be reported as the first revision in the log.
>>>
>>> It took me an hour or two while working on my log reporting script to
>>> reconcile this in my head too.
>>>
>>> What's the timestamp on revision 14663? It should be later than
>>> 2006-05-17T00:05 If it's not, then there might be a bug.
>>
>> The next revision in that path:
>>
>> r14696 | jdoe | 2006-05-17 15:30:47 -0500 (Wed, 17 May 2006) | 1 line
>>
>> I've been running a report script for four weeks with the above
>> command and
>> this is the first time this anomaly has shown up. I would agree
>> with your
>> statement about the latest revision if I was only looking one day,
>> but I'm
>> searching by a range. I would expect only revisions between that
>> range to
>> be returned.
>
> Well, that's not what Subversion does, and that's not what's
> described in the book.
>
>

Beg to differ. I also run the same command on two other repository paths
using the same date range. Because there are hardly ever any changes on
these paths I always get an empty response ( see 'Why Does svn log Give Me
an Empty Response?' at
http://svnbook.red-bean.com/nightly/en/svn.tour.history.html#svn.tour.histor
y.log ).

As far as what the book describes (
http://svnbook.red-bean.com/nightly/en/svn.tour.revs.html#svn.tour.revs.date
s ), it only refers to a single date for the revision. There is no
information in regards to searching by a revision range using dates. I
would expect a date range to only return revisions in the date range.

r14696 is in revision range and should be in the list, however, r14662 is
not in the revision range and should NOT be in the return list.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 24 15:40:38 2006

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.