Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15426552
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, Mar 24, 9:35 AM (4 d, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7457472
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