mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
Swap "-R" and "serve" argument order for Mercurial
Summary: See <https://discourse.phabricator-community.org/t/unable-to-use-current-mercurial-on-debian-stretch/391/13>. I missed that `-R` is order-sensitive. Test Plan: Verified both orders work on 3.5.2. Reviewers: amckinley Reviewed By: amckinley Differential Revision: https://secure.phabricator.com/D18616
This commit is contained in:
parent
49b7181780
commit
b352cacdd9
1 changed files with 1 additions and 1 deletions
|
@ -769,7 +769,7 @@ final class DiffusionServeController extends DiffusionController {
|
||||||
}
|
}
|
||||||
|
|
||||||
$command = csprintf(
|
$command = csprintf(
|
||||||
'%s serve -R %s --stdio',
|
'%s -R %s serve --stdio',
|
||||||
$bin,
|
$bin,
|
||||||
$repository->getLocalPath());
|
$repository->getLocalPath());
|
||||||
$command = PhabricatorDaemon::sudoCommandAsDaemonUser($command);
|
$command = PhabricatorDaemon::sudoCommandAsDaemonUser($command);
|
||||||
|
|
Loading…
Reference in a new issue