[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: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2005-08-06 02:48:52 CEST

On 5-Aug-05, at 4:19 PM, 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

I look at it this way:

svn log -r5:8 describes revisions 5 to 8
svn diff -r5:8 describes what changed from revision 5 to 8

The contents of revision 5 itself contains the changes that made
revision 4 into revision 5. Those aren't changes that happened
between r5 and r8.

Or, if you like, 5 through 8 is a sequence of 4 numbers, but 8 minus
5 (the difference between them) is 3. It all works out.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 6 02:49:28 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.