mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-23 14:00:55 +01:00
Arcanist: parse SVN "replaced" status
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
This commit is contained in:
parent
71016a09f8
commit
f794418ba9
1 changed files with 6 additions and 0 deletions
|
@ -110,6 +110,12 @@ class ArcanistSubversionAPI extends ArcanistRepositoryAPI {
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue