[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: Sander Striker <striker_at_apache.org>
Date: 2003-05-20 19:52:53 CEST

> From: Jan Braun [mailto:janbraun@gmx.de]
> Sent: Tuesday, May 20, 2003 7:44 PM

> 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?

Say that some file is called 'C' in my working copy. It was called 'B'
in revision N and 'A' in revision M. Now, what would this do:

  svn diff --old=URL-OF-WC@M --new=URL-OF-WC@N A

Clearly A doesn't live under all TARGETs, in this case it could even
be absent in both.


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:54:12 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.