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

Re: Will send_copyfrom_args be reverted for 'ra' layers too just like in issue #3711

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 25 Nov 2010 13:25:13 +0100

On Thu, Nov 25, 2010 at 01:10:59PM +0530, Prabhu Gnana Sundar wrote:
> Hi,
> Stefan, we are quite aware of the case you mentioned in your previous
> mail. There the diff is between two explicit paths. I guess the below
> screenshot would make the intention behind the work much clearer.
> Here is my screenshot...
>
> $ vi file1
> $ svn add file1
> A file1
> $ svn ci -m "added file1"
> Adding file1
> Transmitting file data .
> Committed revision 1.
>
> $ svn up
> At revision 1.
>
> $ svn rm file1
> D file1
> $ svn ci -m "removed file1"
> Deleting file1
>
> Committed revision 2.
>
> $ svn cp file:///tmp/testrepo/file1_at_1 file2
> A file2
> $ svn ci -m "coped file1"prabhugnanasundar_at_prabhugnanasundar:/tmp/testwc
> $ vi file2
> $ svn ci -m "copied and modified file2"
> Adding file2
> Transmitting file data .
> Committed revision 3.
>
> $ svn up
> At revision 3.
>
> $ svn diff -c3
> Index: file2
> ===================================================================
> --- file2 (revision 0)
> +++ file2 (revision 3)
> @@ -0,0 +1,8 @@
> +1
> +2
> +3
> +4
> +5
> +6
> +7
> +8
>
> $ svn diff -c3 --diff-copy-from
> Index: file2
> ===================================================================
> --- file2 (revision 2)
> +++ file2 (revision 3)
> @@ -3,3 +3,6 @@
> 3
> 4
> 5
> +6
> +7
> +8
>
> This property is quite similar to the svnlook's --diff-copy-from. Hope
> this explains you the whole idea of implementation. :)

OK, that is neat :)
I'm looking forward to seeing the patch.

BTW, you might run into this issue during testing:
http://subversion.tigris.org/issues/show_bug.cgi?id=2873
If you see this, don't try to fix it in the same go.
I've done some investigation and it's quite hard to fix.
I'll add my findings to that issue.

Thanks,
Stefan
Received on 2010-11-25 13:25:54 CET

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.