]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Fix "none" in SVN XML summary
authorepriestley <git@epriestley.com>
Fri, 15 Feb 2013 22:53:31 +0000 (14:53 -0800)
committerepriestley <git@epriestley.com>
Fri, 15 Feb 2013 22:53:31 +0000 (14:53 -0800)
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

src/repository/api/ArcanistSubversionAPI.php

index 2f757639b33bba498fbb2e5da84ed8b93c5b06a0..b596c51c3e2d161ab0722786b7de93444b5bd0b1 100644 (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':