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

Re: why the inconsistency between some svn commands?

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-08-09 00:38:21 CEST

Marc Haisenko wrote:

>On Friday 05 August 2005 22:19, Peter Samuelson wrote:
>
>
>>Here's the inconsistency that has always bothered me:
>>svn log -r5:8 describes what changed in revisions 5, 6, 7, 8
>>svn diff -r5:8 describes what changed in revisions 6, 7, 8
>>
>>Presumably this was so 'svn log -rN' by itself wouldn't be a no-op.
>>And I suppose it's not possible to fix it *now*, even if we gain the
>>-cN flag, as is being discussed elsewhere.
>>
>>
>
>This is a nice example of the so-called fencepost problem. Imagine a fence. In
>the first command you count the fenceposts. In the second command you count
>the spaces between the fenceposts:
>
>1 2 3 4
>|---|---|---|
> 1 2 3
>
>Hope that clears the issue up :-)
>C'ya,
>
>
Bah. It's not a fencepost error at all, as a couple of recent replies
explain.

BTW, the date on your computer is a week early.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 9 00:40:32 2005

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.