// This is a normal SVN text change, probably from "svn diff".
'(?P<type>Index): (?P<cur>.+)',
// This is an SVN text change, probably from "svnlook diff".
- '(?P<type>Modified|Added|Deleted): (?P<cur>.+)',
+ '(?P<type>Modified|Added|Deleted|Copied): (?P<cur>.+)',
// This is an SVN property change, probably from "svn diff".
'(?P<type>Property changes on): (?P<cur>.+)',
// This is a git commit message, probably from "git show".
case 'Modified':
case 'Added':
case 'Deleted':
+ case 'Copied':
$this->parseIndexHunk($change);
break;
case 'Property changes on':
case 'svnlook-basics.svndiff':
case 'svnlook-add.svndiff':
case 'svnlook-delete.svndiff':
+ case 'svnlook-copied.svndiff':
$this->assertEqual(1, count($changes));
break;
case 'git-format-patch.gitdiff':
--- /dev/null
+Copied: movedfile (from rev 30, newfile)
+===================================================================
+--- movedfile (rev 0)
++++ movedfile 2014-03-31 02:21:25 UTC (txn 30-1o)
+@@ -0,0 +1,2 @@
++blamo
++blamo