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

Re: svn diff basics

From: <trlists_at_clayst.com>
Date: 2004-12-04 05:15:06 CET

On 3 Dec 2004 Josh Pieper wrote:

> You want to use usage case #2.
>
> "svn diff --old=OLD-TGT --new=NEW-TGT"
>
> I just tested it here locally and works with trunk, but I am pretty
> sure it worked with 1.1.x as well. If you don't specify --old and
> --new, 'svn diff' thinks you are giving it a list of things to diff
> from one revision to another, but located in the same place.

Thanks. That works, but I also got some odd results. Specifically,
this works properly for a single file:

    svn diff --old=file:///h:/repos/project/live/html/base.inc --
new=.\base.inc

As does this for all files:

    svn diff --old=file:///h:/repos/project/live/html/ --new=.

However this:

    svn diff --old=file:///h:/repos/project/live/html/base.inc --new=.

(by which I meant, compare the named file in the repository to the
current directory, implying -- to me -- the same file in the current
directory) yields an error:

    svn: Cannot replace a directory from within

Now, what's that supposed to mean??

Thanks,

--
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Dec 4 05:16:49 2004

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.