mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32:41 +01:00
Fix "none" in SVN XML summary
Summary: The `svn diff --xml --summarize` command reports a bunch of item statuses, which may include "none" if you make property changes to a directory (this is fairly rare). Test Plan: Created property changes, saw "none" status. Reviewers: chad, mbishopim3 Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D4978
This commit is contained in:
parent
0f57b8d2de
commit
aba9d49449
1 changed files with 2 additions and 0 deletions
|
@ -151,6 +151,8 @@ final class ArcanistSubversionAPI extends ArcanistRepositoryAPI {
|
|||
|
||||
private function parseSVNStatus($item) {
|
||||
switch ($item) {
|
||||
case 'none':
|
||||
// We can get 'none' for property changes on a directory.
|
||||
case 'normal':
|
||||
return 0;
|
||||
case 'external':
|
||||
|
|
Loading…
Reference in a new issue