[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 14:54:27 CEST

On 5/24/06 7:39 AM, "Andy Levy" <andy.levy@gmail.com> wrote:

> On 5/24/06, Johnathan Gifford <jgifford@wernervas.com> wrote:
>>
>> When I run the below svn command:
>>
>> svn log -v -r {2006-05-17T00:05}:{2006-05-24T00:05}
>> --username XXXX --password XXXX http://myserver.com/to/my/path
>>
>> In the results I consistently get this revision:
>>
>> r14662 | jdoe | 2006-05-16 17:18:43 -0500 (Tue, 16 May 2006) | 1 line
>>
>> The timestamps used specify any revision between 5/17/2006 at 12:05 AM to
>> 5/24/2006 at 12:05 AM should be outputted. But this result is dated
>> 5/16/2006 at 5:18 PM?!?!?!? It is not in the timestamp range. Even if you
>> include the offset (-0500) that still doesn't put it in the range. Should
>> this be showing up? I've also tried other timestamp formats (
>> http://svnbook.red-bean.com/nightly/en/svn.tour.revs.html#svn.tour.revs.dates
>> ) and also get the same revision showing up.
>
> 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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 24 14:56:03 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.