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

Re: FreeBSD project and subversion.

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 5 Feb 2013 19:14:21 +0100

On Tue, Feb 05, 2013 at 09:19:19AM -0800, Alexey Neyman wrote:
> There is one more weird issue with svn diff, see the script below. The issue
> is that "--old=A --new=B" is not opposite of "--old=B --new=A". I don't know
> if it is a bug or another ambuguity I am not aware of :)
>
> Here is the script:
> [[[
> #!/bin/bash
>
> REPO=/tmp/foo
> WC=/tmp/foo.wc
>
> rm -rf $REPO $WC
> svnadmin create $REPO
> svn co -q file://$REPO $WC
> cd $WC
>
> echo r1 > a
> svn add -q a
> svn ci -q -m R1
> echo r2 > a
> svn ci -q -m R2
> svn up -q -r 1
> echo new > a
> echo "Issue: --old=A --new=B is not opposite of --old=B --new=A"
> echo " Running: svn di --old=^/ --new=."
> svn di --old=^/ --new=.
> echo " Running: svn di --old=. --new=^/"
> svn di --old=. --new=^/
> ]]]
>
> And here is the output (svn 1.7.6):
> [[[
> Issue: --old=A --new=B is not opposite of --old=B --new=A
> Running: svn di --old=^/ --new=.
> Index: a
> ===================================================================
> --- a (.../file:///tmp/foo) (revision 2)
> +++ a (working copy)
> @@ -1 +1 @@
> -r2
> +new
> Running: svn di --old=. --new=^/
> Index: a
> ===================================================================
> --- a (working copy)
> +++ a (.../file:///tmp/foo) (revision 2)
> @@ -1 +1 @@
> -r1
> +r2
> ]]]
>
> Regards,
> Alexey.

I can reproduce this with a trunk build. Can you please file an issue
for this? I'm not going to get to this right away. Thanks!
Received on 2013-02-05 19:15:23 CET

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.