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

Re: Resolution of 'svn diff' change?

From: Jan Braun <janbraun_at_gmx.de>
Date: 2003-05-20 19:44:27 CEST

cmpilato@collab.net wrote:
> [--old=/--new= diff syntax]
> You'll get my +1 if you can write a clear, concise usage message.
> You'll get another one if you get to codin'. :-)

I'd like to see that syntax implemented, so I try getting your first
+1:

diff (di): display the differences between two paths[1].
svn diff [-r N[:M]] [--old=OLD-TARGET] [--new=NEW-TARGET] [FILES...]

Displays the differences between OLD-TARGET and NEW-TARGET.
If FILES are given, displays only differences in those files [2]

´-r N:M´ is a shorthand for ´--old=URL-OF-YOUR-WC@N
--new=URL-OF-YOUR-WC@M´

TARGETs can be local wc paths and repostiory URLs
OLD-TARGET defaults to "BASE", NEW-TARGET to ´.´
Thus ´svn diff´ in a wc shows your local modifications.
[...more use cases?]

[1] not sure about "paths" here. "entities"? "resources"?
[2] add something to clarify FILES are living below (both) TARGETs?

        Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 20 19:46:04 2003

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.