From: Luke081515 Date: Wed, 17 Aug 2016 17:36:16 +0000 (-0700) Subject: Avoid double [y/N] when updating a not owned revision X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3ae0cc8d41e26218ac5d0871ce6b73d0377288db;p=arcanist.git Avoid double [y/N] when updating a not owned revision Summary: Since 737f5c0df976fe2b3178aac6ab7feb3d3621d99e arcanist shows [y/N] two times, when arcanist asks you, if you want to proceed, if you want to update a not owned revision. Ths patch fixes that, so that Arcanist shows [y/N] only once, like at other situations, when Arcanist asks you a question. Ref T11489 Test Plan: Updated a not owned revision. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Tags: #arcanist Maniphest Tasks: T11489 Differential Revision: https://secure.phabricator.com/D16415 --- diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php index 64ab5c01..7834f4b8 100644 --- a/src/workflow/ArcanistDiffWorkflow.php +++ b/src/workflow/ArcanistDiffWorkflow.php @@ -2528,7 +2528,7 @@ EOTEXT "You don't own revision %s: \"%s\". Normally, you should ". "only update revisions you own. You can \"Commandeer\" this revision ". "from the web interface if you want to become the owner.\n\n". - "Update this revision anyway? [y/N]", + "Update this revision anyway?", "D{$id}", $title);