Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13958289
D8085.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8085.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D8085: Arc output the correct action being taken
Attached
Detach File
Event Timeline
Log In to Comment