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
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
);
}
$start = $names[1];
} else {
$start = $this->getWorkingCopy()->getConfigFromAnySource(
- 'arc.land.onto.default');
+ 'arc.feature.start.default');
}
$branches = $api->getAllBranches();