From dbe0f7dc0903f34d48d9caed343098b5ef41bce4 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sat, 6 Apr 2013 09:25:35 -0700 Subject: [PATCH] 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 --- src/repository/api/ArcanistSubversionAPI.php | 1 + 1 file changed, 1 insertion(+) 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) {