]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Invalidate SVN status cache after adding files
authorJakub Vrana <jakub@vrana.cz>
Sat, 6 Apr 2013 16:25:35 +0000 (09:25 -0700)
committerJakub Vrana <jakub@vrana.cz>
Sat, 6 Apr 2013 16:25:35 +0000 (09:25 -0700)
Summary: Cache invalidation is really one of the two hardest computer science problems.

Test Plan:
  lang=sh
  # in Subversion repository
  $ arc diff .arcconfig # untracked

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin, AnhNhan
Differential Revision: https://secure.phabricator.com/D5600

src/repository/api/ArcanistSubversionAPI.php

index d729fc1eb7e5d1d24a320a20ac466eecc71b5d31..3f2704983f241f3e13eb7e792ace88d914492453 100644 (file)
@@ -195,6 +195,7 @@ final class ArcanistSubversionAPI extends ArcanistRepositoryAPI {
         'delete -- %Ls',
         array_diff($paths, $add));
     }
+    $this->svnStatus = null;
   }
 
   public function getSVNProperty($path, $property) {