Page MenuHomePhabricator

D11007.id26431.diff
No OneTemporary

D11007.id26431.diff

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

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)

Event Timeline