Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15411808
D14076.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
973 B
Referenced Files
None
Subscribers
None
D14076.diff
View Options
diff --git a/src/workflow/ArcanistUpgradeWorkflow.php b/src/workflow/ArcanistUpgradeWorkflow.php
--- a/src/workflow/ArcanistUpgradeWorkflow.php
+++ b/src/workflow/ArcanistUpgradeWorkflow.php
@@ -53,18 +53,18 @@
$this->setRepositoryAPI($repository);
- // Require no local changes.
$this->requireCleanWorkingCopy();
- // Require the library be on master.
$branch_name = $repository->getBranchName();
- if ($branch_name != 'master') {
+ if ($branch_name != 'master' && $branch_name != 'stable') {
throw new ArcanistUsageException(
pht(
- "%s must be on branch '%s' to be automatically upgraded. ".
+ "%s must be on either branch '%s' or '%s' to be automatically ".
+ "upgraded. ".
"This copy of %s (in '%s') is on branch '%s'.",
$lib,
'master',
+ 'stable',
$lib,
$root,
$branch_name));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 9:53 AM (3 d, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7710578
Default Alt Text
D14076.diff (973 B)
Attached To
Mode
D14076: Allow upgrading in branch `stable`
Attached
Detach File
Event Timeline
Log In to Comment