From b352cacdd9179bede1117fa7b15b4475f8867fc6 Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 15 Sep 2017 12:16:58 -0700 Subject: [PATCH] Swap "-R" and "serve" argument order for Mercurial Summary: See . 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 --- .../diffusion/controller/DiffusionServeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/diffusion/controller/DiffusionServeController.php b/src/applications/diffusion/controller/DiffusionServeController.php index 98942cf2e7..475f688a4c 100644 --- a/src/applications/diffusion/controller/DiffusionServeController.php +++ b/src/applications/diffusion/controller/DiffusionServeController.php @@ -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);