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

Re: doing a diff between the trunk and a tag

From: <cmpilato_at_collab.net>
Date: 2003-08-20 15:33:02 CEST

John Szakmeister <john@szakmeister.net> writes:

> > $ svn diff --old=branch/tag1 --new=branch/tag2
> > svn: Incorrect parameters given
> > svn: Sorry, svn_client_diff was called in a way that is not yet
> > supported.
> > svn: do_diff: paths aren't equal!
> >
> > (that doesn't work!)
>
> Hmmm. I took another quick look at this, and from the error it implies that
> it only supports looking at a different version of the same file.

Current, 'svn diff' doesn't support the comparitive working copy path
case unless the paths being compared are the same and revision of one
is BASE and the other is WORKING.

> svn diff branch/tag1 branch/tag2

That means something different. That means "show me my local mods in
branch/tag1, and then show me my local mods in branch/tag2".

> I did a quick look through the issue tracker and don't see this listed.
> Perhaps this one should get listed?

Nope. You gotta understand the "expected" before claiming a differing
"actual". If you want to file a feature request for the working copy
comparitive case, have at it -- but I'll toss into Post-1.0
immediately. Why? Ever heard of "diff -ru --exclude '.svn'"?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 20 15:36:32 2003

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.