You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Raghav Bhat (JIRA)" <ji...@apache.org> on 2016/08/17 10:33:20 UTC

[jira] [Commented] (SVN-4648) svn diff --git is not capturing svn mv and svn cp properly

    [ https://issues.apache.org/jira/browse/SVN-4648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15424274#comment-15424274 ] 

Raghav Bhat commented on SVN-4648:
----------------------------------

On Wed, Aug 17, 2016 at 02:50:58PM +0530, rags bhat wrote:
> This is what available in the patch file
>
>
> Index: Makefile
> ===================================================================
> diff --git a/branches/Makefile
> deleted dile mode 106444
> -- a/branches/Makefile (revision XXX)
> ++ /dev/null (working copy)
>
> -
> -
>  removed all lines with - symbol
>
> Index: Makefilecp
> ===================================================================
> diff --git a/branches/Makefilecp
> copy from branches/Makefile@revision
> copy to branches//Makefilecp
> Index: Makefilemv
> ===================================================================
> diff --git a/branches/Makefile b/branches/Makefilemv
> copy from branches/Makefile@revision
> copy to branches/Makefilemv
>
> *Thanks & Regards*,
> Raghavendra Bhat

Yes, this seems to be broken indeed.

$ svn diff --git
Index: beta
===================================================================
diff --git a/trunk/beta b/trunk/beta
deleted file mode 10644
--- a/trunk/beta        (revision 2)
+++ /dev/null   (nonexistent)
@@ -1 +0,0 @@
-beta
Index: betacp
===================================================================
diff --git a/trunk/beta b/trunk/betacp
copy from trunk/beta@2
copy to trunk/betacp
Index: betamv
===================================================================
diff --git a/trunk/beta b/trunk/betamv
copy from trunk/beta@2
copy to trunk/betamv
$ svn diff --git > ../p
$ cd ../branch/
$ patch --strip 1 ../p
$ svn patch --strip 1 ../p
D         beta
Skipped missing target: 'betacp'
Skipped missing target: 'betamv'
Summary of conflicts:
  Skipped paths: 2

So please look into this.


> svn diff --git is not capturing svn mv and svn cp properly
> ----------------------------------------------------------
>
>                 Key: SVN-4648
>                 URL: https://issues.apache.org/jira/browse/SVN-4648
>             Project: Subversion
>          Issue Type: Bug
>            Reporter: Raghav Bhat
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)