Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15396130
D8661.id20542.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
863 B
Referenced Files
None
Subscribers
None
D8661.id20542.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D8661: Fix escaping of bookmarknames properly for `arc patch`
Attached
Detach File
Event Timeline
Log In to Comment