Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15418728
D11007.id26431.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
822 B
Referenced Files
None
Subscribers
None
D11007.id26431.diff
View Options
diff --git a/src/workflow/ArcanistPatchWorkflow.php b/src/workflow/ArcanistPatchWorkflow.php
--- a/src/workflow/ArcanistPatchWorkflow.php
+++ b/src/workflow/ArcanistPatchWorkflow.php
@@ -294,9 +294,13 @@
$branch_name);
}
- echo phutil_console_format(
- "Created and checked out branch %s.\n",
- $branch_name);
+ // Don't message about this branch if shouldBranch() is true (i.e.
+ // --nobranch was passed in) as it will be deleted later.
+ if ($this->shouldBranch()) {
+ echo phutil_console_format(
+ "Created and checked out branch %s.\n",
+ $branch_name);
+ }
} else if ($repository_api instanceof ArcanistMercurialAPI) {
$branch_name = $this->getBookmarkName($bundle);
$base_revision = $bundle->getBaseRevision();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 22, 1:05 AM (5 d, 19 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7716220
Default Alt Text
D11007.id26431.diff (822 B)
Attached To
Mode
D11007: suppress confusing output about branching in --nobranch mode
Attached
Detach File
Event Timeline
Log In to Comment