You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by pe...@arm.com on 2001/11/01 10:46:14 UTC

Re: svn diff usage case



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