[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: John Szakmeister <john_at_szakmeister.net>
Date: 2003-08-20 06:38:03 CEST

On Tuesday 19 August 2003 19:20, Wesley J Landaker wrote:
[snip]
> Take this tiny example:
>
> $ svn info
> Path:
> Url: file:///tmp/repos
> Revision: 0
> Node Kind: directory
> Schedule: normal
>
> $ ls
> branch/ trunk/
>
> $ ls branch
> tag1/ tag2/
>
> $ svn diff --old=file:///tmp/repos/branch/tag1
> --new=file:///tmp/repos/branch/tag2
>
> (that works)
>
> $ 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. But what
even more strange (in my mind anyways) is that

svn diff branch/tag1 branch/tag2

gives no output whatsoever. This implies to me that the command found nothing
different between the branches, which is clearly a bug. It should either
throw up the same error it did with the --old/--new or it should complain
that branch/tag1 and branch/tag2 are not URLs (since usage 3 suggests that
typing the targets in this way implies usage 3).

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

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 20 06:36:55 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.