1
0
Fork 0
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:
epriestley 2013-02-15 14:53:31 -08:00
parent 0f57b8d2de
commit aba9d49449

View file

@ -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':