Page MenuHomePhabricator

D8661.id20542.diff
No OneTemporary

D8661.id20542.diff

diff --git a/src/workflow/ArcanistPatchWorkflow.php b/src/workflow/ArcanistPatchWorkflow.php
--- a/src/workflow/ArcanistPatchWorkflow.php
+++ b/src/workflow/ArcanistPatchWorkflow.php
@@ -265,7 +265,7 @@
list($err) = $repository_api->execManualLocal(
'log -r %s',
- $proposed_name);
+ hgsprintf('%s', $proposed_name));
// no error means hg log found a bookmark
if (!$err) {
@@ -320,12 +320,12 @@
echo "Updating to the revision's base commit\n";
$repository_api->execPassthru(
'update %s',
- hgsprintf('%s', $base_revision));
+ $base_revision);
}
$repository_api->execxLocal(
'bookmark %s',
- hgsprintf('%s', $branch_name));
+ $branch_name);
echo phutil_console_format(
"Created and checked out bookmark %s.\n",

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 17, 12:07 PM (1 w, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7470998
Default Alt Text
D8661.id20542.diff (863 B)

Event Timeline