Page MenuHomePhabricator

D14531.id35152.diff
No OneTemporary

D14531.id35152.diff

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

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)

Event Timeline