On Tuesday 19 August 2003 10:38 pm, John Szakmeister wrote:
> On Tuesday 19 August 2003 19:20, Wesley J Landaker wrote:
> > 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).
Actually, I think that without the --new and --old that is just diffing
both tags2 individually against the latest revision (i.e. show me the
local mods in both branches).
Although, I do admit that the first thing I tried was that syntax,
before I realized what it was doing.
> I did a quick look through the issue tracker and don't see this
> listed. Perhaps this one should get listed?
Well, it seems like it should work with the --new/--old syntax with
working directories like I mentioned before, so maybe that is an issue,
but I think the "svn diff branch/tag1 branch/tag2" behavior actually
does kind of make sense (otherwise, you couldn't do "svn diff *.txt" or
Wesley J. Landaker - firstname.lastname@example.org
OpenPGP FP: 4135 2A3B 4726 ACC5 9094 0097 F0A9 8A4C 4CD6 E3D2
Received on Wed Aug 20 16:04:42 2003
- application/pgp-signature attachment: signature