[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: Davey, Sean <SDavey_at_BroadViewNet.com>
Date: Sat, 10 May 2008 19:12:36 -0400

Thanks for your reply Keith,
 
i tried several different syntax.
 
 
according to the caption in the svn book under "Is subversion a day early?"
 
"If you specify a single date as a revision without specifying a time of day (for example 2006-11-27), you may think that Subversion should give you the last revision that took place on the 27th of November. Instead, you'll get back a revision from the 26th, or even earlier. Remember that Subversion will find the most recent revision of the repository as of the date you give. If you give a date without a timestamp, like 2006-11-27, Subversion assumes a time of 00:00:00, so looking for the most recent revision won't return anything on the day of the 27th.
 
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})."
 
 
the following is the comand and result of specificly asking for the revision 37331:
G:\>svn log http://bvsubver/svn/oss/WebRelease/trunk -r 37331
------------------------------------------------------------------------
r37331 | ajax | 2008-05-08 13:32:49 -0400 (Thu, 08 May 2008) | 1 line
 
Restrict Hold orders to internal orders (no wholesale)
------------------------------------------------------------------------
 
 
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"}
------------------------------------------------------------------------
 
 
 
Sean
 
 
 

-----Original Message-----
From: Keith Lawless [mailto:keith.lawless.lists_at_gmail.com]
Sent: Saturday, May 10, 2008 7:33 AM
To: Davey, Sean
Cc: users_at_subversion.tigris.org
Subject: Re: svn log and revision date ranges

On Fri, May 9, 2008 at 8:54 AM, Davey, Sean < SDavey_at_broadviewnet.com> wrote:

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.

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}"
------------------------------------------------------------------------

Try using the syntax: -r {"2008-05-08 13:31:49 -0499"}:{"2008-0508 15:01:05 -0400"}

I think the way you have it written, that whole string would be translated as a single date.

Keith

 
Received on 2008-05-11 01:13:02 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.