mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-23 14:00:55 +01:00
Remove hard coded single quotes in arc feature
Summary: Single quotes aren't valid in the windows cmd prompt, so arc feature didn't work in mercurial when it got to this line. I have no idea why %C was used before. Nothing in that string should be broken by the escaping. Test Plan: Ran arc feature --trace on my mac. Verified the command was escaped correctly and the correct feature results were printed. I don't have a windows machine to try it on, but the builtin escaping should now account for windows machines. Reviewers: epriestley Reviewed By: epriestley CC: sid0, aran, Korvin Differential Revision: https://secure.phabricator.com/D6637
This commit is contained in:
parent
19181fb3e8
commit
5b69749812
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ EOTEXT
|
||||||
foreach ($branches as $branch) {
|
foreach ($branches as $branch) {
|
||||||
if ($repository_api instanceof ArcanistMercurialAPI) {
|
if ($repository_api instanceof ArcanistMercurialAPI) {
|
||||||
$futures[$branch['name']] = $repository_api->execFutureLocal(
|
$futures[$branch['name']] = $repository_api->execFutureLocal(
|
||||||
"log -l 1 --template '%C' -r %s",
|
"log -l 1 --template %s -r %s",
|
||||||
"{node}\1{date|hgdate}\1{p1node}\1{desc|firstline}\1{desc}",
|
"{node}\1{date|hgdate}\1{p1node}\1{desc|firstline}\1{desc}",
|
||||||
hgsprintf('%s', $branch['name']));
|
hgsprintf('%s', $branch['name']));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue