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

Re: question about --revision DATE

From: Geoffrey Myers <lists_at_serioustechnology.com>
Date: Thu, 02 Dec 2010 14:36:49 -0500

Andy Levy wrote:
> On Thu, Dec 2, 2010 at 13:55, Geoffrey Myers
> <lists_at_serioustechnology.com> wrote:
>> Andy Levy wrote:
>>> On Thu, Dec 2, 2010 at 13:21, Geoffrey Myers
>>> <lists_at_serioustechnology.com> wrote:
>>>> I'm hoping someone can explain the following output to me:
>>>>
>>>> svn log --revision {2010-12-02}:{2010-12-02}
>>>> ------------------------------------------------------------------------
>>>> r5139 | esoteric | 2010-12-01 21:27:31 -0500 (Wed, 01 Dec 2010) | 2 lines
>>>>
>>>>
>>>>
>>>> svn log --revision {2010-12-01}:{2010-12-02}
>>>> ------------------------------------------------------------------------
>>>> r5137 | esoteric | 2010-12-01 20:22:17 -0500 (Wed, 01 Dec 2010) | 2 lines
>>>>
>>>> ------------------------------------------------------------------------
>>>> r5138 | esoteric | 2010-12-01 20:48:54 -0500 (Wed, 01 Dec 2010) | 5 lines
>>>>
>>>> ------------------------------------------------------------------------
>>>> r5139 | esoteric | 2010-12-01 21:27:31 -0500 (Wed, 01 Dec 2010) | 2 lines
>>>
>>> http://svnbook.red-bean.com/nightly/en/svn.tour.revs.specifiers.html#svn.tour.revs.dates
>>>
>>> Especially the "Is Subversion a day early?" box.
>>
>> Okay, but why does the first return a single record, and the second return
>> 3? I would expect the first to return either nothing or 3.
>
> Because it's the most recent revision as of the date you gave.

<Light goes on>

Thanks.

-- 
Until later, Geoffrey
"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson
Received on 2010-12-02 20:37:34 CET

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.