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

`svn diff' paths abbreviated wrongly

From: Neels J Hofmeyr <neels_at_elego.de>
Date: Fri, 03 Oct 2008 04:34:15 +0200

Hi dev,

When I diff two paths that begin similarly like this:

 /A/foo/baz
 /A/foobar/baz

, then svn diff's output puts a path separator where there shouldn't be one:

[[[
$ svn diff svn://localhost/diffpaths/A/foo/baz \
   svn://localhost/diffpaths/A/foobar/baz
Index: baz
===================================================================
--- baz (.../baz) (revision 1)
+++ baz (.../bar/baz) (revision 1)
@@ -1 +1 @@
-baz
+quux
]]]

It should say something like
  .../foo/baz
  .../foobar/baz
but it says
  .../baz
  .../bar/baz
which is wrong since there is no directory called "bar".

I couldn't find an issue for it. (Maybe this is related, although it talks
about the "Index:" line further above: #1498 "svn diff should mention full
URL to file")

What's the general stance on this?

~Neels

-- 
Neels Hofmeyr -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23458696  mobile: +49 177 2345869  fax: +49 30 23458695
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelsreg: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194

Received on 2008-10-03 04:34:39 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.