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

Re: 4 bugs in svn diff (IssueZilla gives me Internal Server Error)

From: Stephan Feder <sf_at_stephan-feder.de>
Date: 2002-04-29 00:33:30 CEST

Hello Ben,

maybe it would be better to use two distinct svn commands:

"svn diff" diffs exactly two arbitrary paths, each of them either local
(why not?) or remote; this would be just an extension of the traditional
unix diff.
"svn vdiff" ("vdiff" for version-diff) diffs the two specified versions
of the given list of version controlled paths (one by one).


Ben Collins-Sussman wrote:
> Read the rest of the help on svn diff.  As you said, the first use
> case is all about the different ways you can diff versions of a single
> path against itself.
>   svn diff -r22:34 some/wc/path
>   svn diff -r22:34 http://some/repos/path
>   svn diff -r22    some/wc/path
>   svn diff         some/wc/path
> This is the syntax that treats multiple paths as a list of independent
> diff runs.
> But the second use case mentioned in help allows you to diff two
> arbitrary paths on the server, whether they be tags, branches, whatever:
>   svn diff http://path/to/branch1 http://path/to/branch2
>   svn diff http://path/to/branch1@51 http://path/to/branch2@78
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 29 23:26:55 2002

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.