Page MenuHomePhabricator

D8085.id.diff
No OneTemporary

D8085.id.diff

Index: src/workflow/ArcanistLandWorkflow.php
===================================================================
--- src/workflow/ArcanistLandWorkflow.php
+++ src/workflow/ArcanistLandWorkflow.php
@@ -594,14 +594,13 @@
private function rebase() {
$repository_api = $this->getRepositoryAPI();
- echo phutil_console_format(
- "Rebasing **%s** onto **%s**\n",
- $this->branch,
- $this->onto);
-
chdir($repository_api->getPath());
if ($this->isGit) {
if ($this->shouldUpdateWithRebase) {
+ echo phutil_console_format(
+ "Rebasing **%s** onto **%s**\n",
+ $this->branch,
+ $this->onto);
$err = phutil_passthru('git rebase %s', $this->onto);
if ($err) {
throw new ArcanistUsageException(
@@ -612,6 +611,10 @@
"run 'arc land' again.");
}
} else {
+ echo phutil_console_format(
+ "Merging **%s** into **%s**\n",
+ $this->branch,
+ $this->onto);
$err = phutil_passthru(
'git merge --no-stat %s -m %s',
$this->onto,

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 15, 1:53 PM (4 w, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6713067
Default Alt Text
D8085.id.diff (1 KB)

Event Timeline