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

Re: Compare WC with a URL

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-12-02 14:49:17 CET

On Fri, 2005-12-02 at 07:50 -0500, Marc Sherman wrote:
> > $ ./svn diff . http://svn.collab.net/repos/svn/trunk/subversion/svn
> > svn: Target lists to diff may not contain both working copy paths and URLs
> > svn: Consider using the '--old' and '--new' options
> Why does that restriction exist in the first place? Couldn't the old
> and new targets be worked out implicitly from that list?

No, because "svn diff foo bar" does not mean "compare foo against bar";
it means "compare different revisions of foo and bar" (by default,
compare the wc version against the base version, but you can specify a
-r option to compare to specific revs or compare the wc version against
a specific rev).

This comes from CVS. It is highly convenient in some situations, and
very intuitive to some people, although others never use it.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 2 14:58:55 2005

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.