From: Jakub Vrana Date: Sat, 6 Apr 2013 16:25:35 +0000 (-0700) Subject: Invalidate SVN status cache after adding files X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=dbe0f7dc0903f34d48d9caed343098b5ef41bce4;p=arcanist.git Invalidate SVN status cache after adding files 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 --- diff --git a/src/repository/api/ArcanistSubversionAPI.php b/src/repository/api/ArcanistSubversionAPI.php index d729fc1e..3f270498 100644 --- a/src/repository/api/ArcanistSubversionAPI.php +++ b/src/repository/api/ArcanistSubversionAPI.php @@ -195,6 +195,7 @@ final class ArcanistSubversionAPI extends ArcanistRepositoryAPI { 'delete -- %Ls', array_diff($paths, $add)); } + $this->svnStatus = null; } public function getSVNProperty($path, $property) {