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

svn diff comparing URL and WC targets

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2005-01-13 21:44:01 CET

'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 .

and it complained:

svn: Target lists to diff may not contain both working copy paths and
URLs

Which wasn't really clear from the help. I don't understand where the
restriction comes from either.
The subversion book clearly states that svn diff can be used to
"Compare your working copy to the repository" so where did I go wrong?

Scott

---------------------------------------------------------------------
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:47:21 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.