You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Hudson <gh...@MIT.EDU> on 2001/10/31 20:11:39 UTC
svn diff usage case
It came to me a little late in the game that we may not be considering
the right usage cases for "svn diff". We've been mirroring the usage
cases for "cvs diff", but CVS revision numbers are a lot more
interesting than SVN revision numbers because CVS has branches and
tags.
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?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn diff usage case
Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Greg Hudson <gh...@MIT.EDU> writes:
> It came to me a little late in the game that we may not be considering
> the right usage cases for "svn diff". We've been mirroring the usage
> cases for "cvs diff", but CVS revision numbers are a lot more
> interesting than SVN revision numbers because CVS has branches and
> tags.
>
> 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?
Yah, that sounds right. It's not such a big difference from the way
CVS works, it's just that where CVS differientiates on revision number
(i.e., branch number), SVN does it on path.
(No surprises so far...?)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org