Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15382238
D18611.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
680 B
Referenced Files
None
Subscribers
None
D18611.diff
View Options
diff --git a/src/applications/diffusion/controller/DiffusionServeController.php b/src/applications/diffusion/controller/DiffusionServeController.php
--- a/src/applications/diffusion/controller/DiffusionServeController.php
+++ b/src/applications/diffusion/controller/DiffusionServeController.php
@@ -768,7 +768,10 @@
$input = strlen($input)."\n".$input."0\n";
}
- $command = csprintf('%s serve --stdio', $bin);
+ $command = csprintf(
+ '%s serve -R %s --stdio',
+ $bin,
+ $repository->getLocalPath());
$command = PhabricatorDaemon::sudoCommandAsDaemonUser($command);
list($err, $stdout, $stderr) = id(new ExecFuture('%C', $command))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 15, 11:26 AM (6 d, 23 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7691706
Default Alt Text
D18611.diff (680 B)
Attached To
Mode
D18611: Provide an explicit "-R" flag to "hg serve"
Attached
Detach File
Event Timeline
Log In to Comment