1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +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:
epriestley 2017-09-15 12:16:58 -07:00
parent 49b7181780
commit b352cacdd9

View file

@ -769,7 +769,7 @@ final class DiffusionServeController extends DiffusionController {
}
$command = csprintf(
'%s serve -R %s --stdio',
'%s -R %s serve --stdio',
$bin,
$repository->getLocalPath());
$command = PhabricatorDaemon::sudoCommandAsDaemonUser($command);