[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: Robert P. J. Day <rpjday_at_mindspring.com>
Date: 2005-08-06 11:00:06 CEST

On Fri, 5 Aug 2005, Peter Samuelson wrote:

>
> [Scott Palmer]
> > 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.
>
> I still don't see a material difference between 'svn log -v' and
> 'svn diff', in terms of what they are describing. The exact
> information and presentation is different, but I use them both to
> answer the same question, "what has changed between M and N?"

you just answered your own question. there is a difference between
asking "what changed *between* revisions M and N?" and "what are the
changes represented by changes M *through* N?"

the first would be the diff, the second would be the log. sure, it's
pedantic. but it's based on the definition that the activity
represented by change, say, 5, is what happened to go from 4 to 5.

such is life.

rday

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