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

Re: svn diff usage case

From: <peter.westlake_at_arm.com>
Date: 2001-11-01 11:46:14 CET

On 2001-10-31 20:11:39 Greg Hudson wrote:
...
>For example, suppose I keep a locally modified version of some project
>like emacs, using the SVN equivalent of "cvs import". I'm not sure
>exactly how that will work, but presumably I would have separate
>directory copies for the stock FSF emacs and for the locally modified
>emacs. (Most likely I'd also have separate copies for each version of
>FSF emacs and some others as well, but these details are unimportant.)
>If I want to compute the diffs between the stock emacs and my locally
>modified version, I'll want to run an svn diff between two different
>targets (possibly at different revs), not just between two different
>revs of the same target.
>
>Comments?

You're quite right - in CVS, different variants of the program are
implemented using branches, which are part of the revision number
space and so can be referred to with the -r argument to diff. That
doesn't work in Subversion because variants appear in the space of
paths. So you need to be able to pass those on the command line.

(Sorry to state the obvious. Just a long-winded way of agreeing.)

Peter.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:47 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.