Summary:
SVN has a special 'replaced' status which was not being parsed
correctly. Parse it correctly.
Test Plan:
Replaced a file, ran arc diff, got a sensible diff.
Reviewed By: aran
Reviewers: aran
CC: aran
Differential Revision: 60
case 'added':
$mask |= self::FLAG_ADDED;
break;
+ case 'replaced':
+ // This is the result of "svn rm"-ing a file, putting another one
+ // in place of it, and then "svn add"-ing the new file. Just treat
+ // this as equivalent to "modified".
+ $mask |= self::FLAG_MODIFIED;
+ break;
case 'modified':
$mask |= self::FLAG_MODIFIED;
break;