Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
trunk
Description
"svn diff local_absolutepath" from inside a local working copy is broken See the following thread. http://svn.haxx.se/dev/archive-2011-02/0893.shtml % svnadmin create r1 % svnadmin create r2 % svn co -q file://`pwd`/r1 wc1 % svn co -q file://`pwd`/r2 wc2 % ls -d *[12] r1 r2 wc1 wc2 % touch wc2/iota % $svn add -q wc2/iota % cd wc1 % pwd /tmp/svn/wc1 % $svn di /tmp/svn/wc2/ subversion/svn/diff-cmd.c:367: (apr_err=150000) subversion/libsvn_client/diff.c:1958: (apr_err=150000) subversion/libsvn_client/diff.c:1641: (apr_err=150000) subversion/libsvn_client/revisions.c:103: (apr_err=150000) svn: E150000: '/tmp/svn/wc1/tmp/svn/wc2' is not under version control zsh: exit 1 $svn di $(cd ..; pwd)/wc2/ And this works absolutely fine in 1.6 noorul@laptop:~$ cd /tmp noorul@laptop:/tmp$ svnadmin create r1 noorul@laptop:/tmp$ svnadmin create r2 noorul@laptop:/tmp$ svn co -q file://`pwd`/r1 wc1 noorul@laptop:/tmp$ svn co -q file://`pwd`/r2 wc2 noorul@laptop:/tmp$ touch wc2/iota noorul@laptop:/tmp$ svn add -q wc2/iota noorul@laptop:/tmp$ cd wc1 noorul@laptop:/tmp/wc1$ ls noorul@laptop:/tmp/wc1$ pwd /tmp/wc1 noorul@laptop:/tmp/wc1$ svn di /tmp/wc2 Index: /tmp/wc2/iota =================================================================== noorul@laptop:/tmp/wc1$ svn di /tmp/wc2 Index: /tmp/wc2/iota ===================================================================
Original issue reported by noorul