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

svn log and revision date ranges

From: Davey, Sean <SDavey_at_BroadViewNet.com>
Date: Fri, 9 May 2008 08:54:12 -0400

Hi, I thought I understood how the svn log command worked using date ranges, but now something occurred that leads me to believe I do not understand how it works. I did read the part in the book about subversion a day early. I am using a client version 1.4.5, the sever is 1.4.5 as well.

To demonstrate my dilemma:

I issue a command to a specific revision 37331

G:\>svn log http://bvsubver/svn/oss/WebRelease/trunk -r 37331 -v
------------------------------------------------------------------------
r37331 | ajax | 2008-05-08 13:32:49 -0400 (Thu, 08 May 2008) | 1 line
Changed paths:
   M /WebRelease/trunk/web/src/ncss/web/order/orderinfo/fieldT1Definition.java

Restrict Hold orders to internal orders (no wholesale)
------------------------------------------------------------------------

the log returns what I expected for revision r37331

Using date range:
Note I am in Eastern Daylight time -4 hours UTC.

In order to capture that same log entry i issue the following svn log commands with date range:

G:\>svn log http://bvsubver/svn/oss/WebRelease/trunk -r "{2008-05-08 17:31:49 +0000}:{2008-05-08 19:01:05 +0000}"
------------------------------------------------------------------------

G:\>svn log http://bvsubver/svn/oss/WebRelease/trunk -r "{2008-05-08 17:32:49 +0000}:{2008-05-08 19:01:05 +0000}"
------------------------------------------------------------------------

G:\>svn log http://bvsubver/svn/oss/WebRelease/trunk -r "{2008-05-08 17:33:49 +0000}:{2008-05-08 19:01:05 +0000}"
------------------------------------------------------------------------

So each of the above commands getting issued, the start date in the range is changed to represent one minute b4 the commit 17:31:49, the actual commit date of 17:32:49, and one minute after the commit 17:33:49 and I cannot reveal the log entry with any of these comands.

I also changed the command to use Eastern Daylight changed the hour from 17 to 13 and changed +0000 to -0400

G:\>svn log http://bvsubver/svn/oss/WebRelease/trunk -r "{2008-05-08 13:31:49 -0400}:{2008-05-08 15:01:05 -0400}"
------------------------------------------------------------------------

G:\>svn log http://bvsubver/svn/oss/WebRelease/trunk -r "{2008-05-08 13:32:49 -0400}:{2008-05-08 15:01:05 -0400}"
------------------------------------------------------------------------

G:\>svn log http://bvsubver/svn/oss/WebRelease/trunk -r "{2008-05-08 13:33:49 -0400}:{2008-05-08 15:01:05 -0400}"
------------------------------------------------------------------------

Im at a loss as to why I cannot reveal r37331using date ranges. Any help would greatly be appreciated. Looking to use this command to trigger automatic builds when revisions have been detected with in a time frame.

Thank You
Sean
Received on 2008-05-09 14:54:37 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.