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

svn log and date range

From: Wellington Fan <winterbeef_at_gmail.com>
Date: Tue, 14 Oct 2008 15:12:36 -0400

Hello all,

I thought that I understood the -r{DATE1}:{DATE2} syntax to grab all
transactions from 00:00:00 of DATE1 to 00:00:00 of DATE2. I am using
svn, version 1.5.1 (r32289).

I issue the following commands and get unexpected results, numbered for
easy reference:

(1)
$ svn log -r{2008-10-10}:{2008-10-11} -q
------------------------------------------------------------------------
r596 | wfan | 2008-10-08 18:30:49 -0400 (Wed, 08 Oct 2008)
------------------------------------------------------------------------
r597 | wfan | 2008-10-10 10:58:09 -0400 (Fri, 10 Oct 2008)
------------------------------------------------------------------------
r599 | wfan | 2008-10-10 13:37:04 -0400 (Fri, 10 Oct 2008)
------------------------------------------------------------------------

(2)
$ svn log -r{2008-10-11}:{2008-10-11} -q
------------------------------------------------------------------------
r599 | wfan | 2008-10-10 13:37:04 -0400 (Fri, 10 Oct 2008)
------------------------------------------------------------------------

(3)
$ svn log -r{2008-10-10}:{2008-10-10} -q
------------------------------------------------------------------------
r596 | wfan | 2008-10-08 18:30:49 -0400 (Wed, 08 Oct 2008)
------------------------------------------------------------------------

So I'd NOT expect r596 to show in (1), since the commit date is NOT
between (2008-10-10 00:00:00) and (2008-10-11 00:00:00)

I'd not expect ANY results from (2), nor from (3), as I would think that
 the date ranges I've set up are impossible...

What am I missing in my understanding?

--
Wellington
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-14 21: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.