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

Re: svn diff comparing URL and WC targets

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-01-13 21:55:19 CET

On Jan 13, 2005, at 2:44 PM, Scott Palmer wrote:

> 'svn help diff' states:
>
> usage: 1. diff [-r N[:M]] [TARGET[@REV]...]
> 2. diff [-r N[:M]] --old=OLD-TGT[@OLDREV]
> [--new=NEW-TGT[@NEWREV]] \
> [PATH...]
> 3. diff OLD-URL[@OLDREV] NEW-URL[@NEWREV]
>
> 1. Display the changes made to TARGETs as they are seen in REV
> between
> two revisions. TARGETs may be working copy paths or URLs.
> ...
>
> but when I was working on a branch
> (svn://server/project/branches/featureA), with changes that I have not
> checked in, and I want to see how it differs from the trunk, I tried:
>
> svn diff svn://server/project/trunk .
>

Try 'svn diff --old=URL --new=.'

If you leave off the --old and --new, then it thinks you're asking to
see local mods on a list of objects.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 13 21:57:47 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.