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

Re: diffing

From: Lukas Ruf <ruf_at_rawip.org>
Date: 2004-05-25 15:30:36 CEST

> Ben Collins-Sussman <sussman@collab.net> [2004-05-25 15:04]:
>
> On Tue, 2004-05-25 at 06:10, Lukas Ruf wrote:
>
> 'svn diff path1 path2' does *not* compare path1 and path2. That's
> because 'svn diff' normally shows local changes to files: so that
> command will show any edits made to path1, followed by any edits made to
> path2.
>
> What you really what to run is "svn diff --old=trunk --new=upstream'.
> But there's no code to support that use-case yet. You'll see an error
> if you try that.
>

ok. thanks.

I thought I could make use of the presumed features to compare tags
which are handled as 'svn copy's. In many cases, I intended to use
this feature to easily get the difference between tags. But, if I
correctly understood, I have to run

    svn checkout $REPOS/tags/version1
    svn checkout $REPOS/tags/version2
    diff -r --exclude='.svn' version1 version2

right?

Thanks!

wbr,
Lukas

-- 
Lukas Ruf           | Wanna know anything about raw |
<http://www.lpr.ch> | IP? -> <http://www.rawip.org> |
eMail Style Guide: <http://www.rawip.org/style.html>|
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 25 15:31:32 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.