From: epriestley Date: Fri, 15 Feb 2013 22:53:31 +0000 (-0800) Subject: Fix "none" in SVN XML summary X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=aba9d49449482edd9556d83c8bf4bfe1362f44e9;p=arcanist.git 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 --- diff --git a/src/repository/api/ArcanistSubversionAPI.php b/src/repository/api/ArcanistSubversionAPI.php index 2f757639..b596c51c 100644 --- a/src/repository/api/ArcanistSubversionAPI.php +++ b/src/repository/api/ArcanistSubversionAPI.php @@ -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':