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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user