From b06237cb2d703c74d5c01b8820d6ea08efc4cf14 Mon Sep 17 00:00:00 2001 From: durham Date: Wed, 13 Mar 2013 17:01:23 -0700 Subject: [PATCH] Change arc feature to use it's own config key for the start default Summary: Changes arc feature to read 'arc.feature.start.default' instead of 'arc.land.onto.default'. In our usage we actually need to fork off a different branch than we land to, so separating these is useful. Test Plan: Set arc.land.onto.default = master Set arc.feature.start.default = bar arc feature foo cat .git/config Verified the foo branch tracked bar Reviewers: epriestley, nh Reviewed By: epriestley CC: wez, dschleimer, aran, Korvin Differential Revision: https://secure.phabricator.com/D5336 --- src/workflow/ArcanistFeatureWorkflow.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/workflow/ArcanistFeatureWorkflow.php b/src/workflow/ArcanistFeatureWorkflow.php index 008a0a54..5ae1adac 100644 --- a/src/workflow/ArcanistFeatureWorkflow.php +++ b/src/workflow/ArcanistFeatureWorkflow.php @@ -33,8 +33,8 @@ EOTEXT With __name__, it creates or checks out a branch. If the branch __name__ doesn't exist and is in format D123 then the branch of revision D123 is checked out. Use __start__ to specify where the new - branch will start. Using 'arc.land.onto.default' to set the default - land location will also set the default feature start location. + branch will start. Use 'arc.feature.start.default' to set the default + feature start location. EOTEXT ); } @@ -110,7 +110,7 @@ EOTEXT $start = $names[1]; } else { $start = $this->getWorkingCopy()->getConfigFromAnySource( - 'arc.land.onto.default'); + 'arc.feature.start.default'); } $branches = $api->getAllBranches();