From: epriestley Date: Wed, 21 May 2014 20:07:11 +0000 (-0700) Subject: Fix warning in `arc backout` X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=07895c41c706d8a8adffea6e344b75fda3a9049e;p=arcanist.git Fix warning in `arc backout` Summary: Fixes T5145. Neither variable is ever used. Test Plan: Searched for uses of either variable. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T5145 Differential Revision: https://secure.phabricator.com/D9244 --- diff --git a/src/workflow/ArcanistBackoutWorkflow.php b/src/workflow/ArcanistBackoutWorkflow.php index b7e0486d..d5691060 100644 --- a/src/workflow/ArcanistBackoutWorkflow.php +++ b/src/workflow/ArcanistBackoutWorkflow.php @@ -124,8 +124,7 @@ EOTEXT $console = PhutilConsole::getConsole(); $conduit = $this->getConduit(); $repository_api = $this->getRepositoryAPI(); - $repository = $this->loadProjectRepository(); - $callsign = $repository["callsign"]; + $is_git_svn = $repository_api instanceof ArcanistGitAPI && $repository_api->isGitSubversionRepo(); $is_hg_svn = $repository_api instanceof ArcanistMercurialAPI &&