From 07895c41c706d8a8adffea6e344b75fda3a9049e Mon Sep 17 00:00:00 2001 From: epriestley Date: Wed, 21 May 2014 13:07:11 -0700 Subject: [PATCH] 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 --- src/workflow/ArcanistBackoutWorkflow.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 && -- 2.43.0