Changeset View
Changeset View
Standalone View
Standalone View
src/config/arc/ArcanistArcConfigurationEngineExtension.php
Show First 20 Lines • Show All 130 Lines • ▼ Show 20 Lines | return array( | ||||
->setHelp( | ->setHelp( | ||||
pht( | pht( | ||||
'Specifies the default behavior when "arc land" is run with '. | 'Specifies the default behavior when "arc land" is run with '. | ||||
'no "--onto-remote" flag.')) | 'no "--onto-remote" flag.')) | ||||
->setExamples( | ->setExamples( | ||||
array( | array( | ||||
'origin', | 'origin', | ||||
)), | )), | ||||
id(new ArcanistBoolConfigOption()) | id(new ArcanistStringConfigOption()) | ||||
->setKey('history.immutable') | ->setKey('arc.land.strategy') | ||||
->setSummary( | ->setSummary( | ||||
pht( | pht( | ||||
'Configure use of history mutation operations like amends '. | 'Configure a default merge strategy for "arc land".')) | ||||
'and rebases.')) | |||||
->setHelp( | ->setHelp( | ||||
pht( | pht( | ||||
'If this option is set to "true", Arcanist will treat the '. | 'Specifies the default behavior when "arc land" is run with '. | ||||
'repository history as immutable and will never issue '. | 'no "--strategy" flag.')), | ||||
'commands which rewrite repository history (like amends or '. | |||||
'rebases). This option defaults to "true" in Mercurial, '. | |||||
'"false" in Git, and has no effect in Subversion.')), | |||||
); | ); | ||||
} | } | ||||
} | } |