Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15451133
D8512.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
625 B
Referenced Files
None
Subscribers
None
D8512.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
@@ -320,12 +320,12 @@
echo "Updating to the revision's base commit\n";
$repository_api->execPassthru(
'update %s',
- $base_revision);
+ hgsprintf('%s', $base_revision));
}
$repository_api->execxLocal(
'bookmark %s',
- $branch_name);
+ hgsprintf('%s', $branch_name));
echo phutil_console_format(
"Created and checked out bookmark %s.\n",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 29, 8:19 PM (6 d, 6 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7225041
Default Alt Text
D8512.diff (625 B)
Attached To
Mode
D8512: Use hgsprintf() when managing bookmarks in arc patch in mercurial
Attached
Detach File
Event Timeline
Log In to Comment