'param' => 'master',
'help' => "Land feature branch onto a branch other than ".
"'master' (default). You can change the default by setting ".
- "'arc.land.onto.default' in your .arcconfig.",
+ "'arc.land.onto.default' with `arc set-config` or for the ".
+ "entire project in .arcconfig.",
),
'hold' => array(
'help' => "Prepare the change to be pushed, but do not actually ".
$branch = head($branch);
$onto_default = nonempty(
- $this->getWorkingCopy()->getConfig('arc.land.onto.default'),
+ $this->getWorkingCopy()->getConfigFromAnySource('arc.land.onto.default'),
'master');
$remote = $this->getArgument('remote', 'origin');
'engine is specified by the current project.',
'example' => 'ExampleUnitTestEngine',
),
+ 'arc.land.onto.default' => array(
+ 'help' =>
+ 'The name of the default branch to land changes onto when '.
+ '`arc land` is run.',
+ 'example' => 'develop',
+ ),
);
$config = self::readGlobalArcConfig();