Daniel Shahaf <d.s_at_daniel.shahaf.name> writes:
> Bogus path handling bug:
>
> [[[
> % 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/
> ]]]
It seems to be regression. This works in 1.6.
noorul_at_laptop:~$ cd /tmp
noorul_at_laptop:/tmp$ svnadmin create r1
noorul_at_laptop:/tmp$ svnadmin create r2
noorul_at_laptop:/tmp$ svn co -q file://`pwd`/r1 wc1
noorul_at_laptop:/tmp$ svn co -q file://`pwd`/r2 wc2
noorul_at_laptop:/tmp$ touch wc2/iota
noorul_at_laptop:/tmp$ svn add -q wc2/iota
noorul_at_laptop:/tmp$ cd wc1
noorul_at_laptop:/tmp/wc1$ ls
noorul_at_laptop:/tmp/wc1$ pwd
/tmp/wc1
noorul_at_laptop:/tmp/wc1$ svn di /tmp/wc2
Index: /tmp/wc2/iota
===================================================================
noorul_at_laptop:/tmp/wc1$ svn di /tmp/wc2
Index: /tmp/wc2/iota
===================================================================
Shall I open an issue for this?
Thanks and Regards
Noorul
Received on 2011-03-02 02:46:06 CET