Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14005214
D14531.id35152.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
805 B
Referenced Files
None
Subscribers
None
D14531.id35152.diff
View Options
diff --git a/src/workflow/ArcanistLandWorkflow.php b/src/workflow/ArcanistLandWorkflow.php
--- a/src/workflow/ArcanistLandWorkflow.php
+++ b/src/workflow/ArcanistLandWorkflow.php
@@ -1282,10 +1282,16 @@
$err = $repository_api->execPassthru('push %s', $this->remote);
$cmd = 'hg push';
} else if ($this->isHg) {
- $err = $repository_api->execPassthru(
- 'push -r %s %s',
- $this->onto,
- $this->remote);
+ if (strlen($this->remote)) {
+ $err = $repository_api->execPassthru(
+ 'push -r %s %s',
+ $this->onto,
+ $this->remote);
+ } else {
+ $err = $repository_api->execPassthru(
+ 'push -r %s',
+ $this->onto);
+ }
$cmd = 'hg push';
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 28, 9:20 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6748559
Default Alt Text
D14531.id35152.diff (805 B)
Attached To
Mode
D14531: Don't give Mercurial empty string as a remote name
Attached
Detach File
Event Timeline
Log In to Comment