comparison mercurial/help/config.txt @ 15321:e174353e8cda stable

subrepos: abort commit by default if a subrepo is dirty (BC) This changeset flips the default value of ui.commitsubrepos setting from True to False and adds a --subrepos flag to commit. The commit, status, and diff commands behave like this with regard to recusion and the ui.commitsubrepos setting: | recurses | recurses | by default | with --subrepos --------+---------------+---------------- commit: | commitsubrepo | True status: | False | True diff: | False | True By changing the default from True to False, the table becomes consistent in the two columns: * without --subrepos on the command line, commit will abort if a subrepo is dirty and status/diff wont show changes inside subrepos. * with --subrepos, all three commands will recurse. A --subrepos flag on the command line overrides the config settin.g
author Martin Geisler <mg@lazybytes.net>
date Fri, 21 Oct 2011 00:33:08 +0200
parents c019df62de45
children a84698badf0b
comparison
equal deleted inserted replaced
15320:681267a5f491 15321:e174353e8cda
1008 1008
1009 ``commitsubrepos`` 1009 ``commitsubrepos``
1010 Whether to commit modified subrepositories when committing the 1010 Whether to commit modified subrepositories when committing the
1011 parent repository. If False and one subrepository has uncommitted 1011 parent repository. If False and one subrepository has uncommitted
1012 changes, abort the commit. 1012 changes, abort the commit.
1013 Default is True. 1013 Default is False.
1014 1014
1015 ``debug`` 1015 ``debug``
1016 Print debugging information. True or False. Default is False. 1016 Print debugging information. True or False. Default is False.
1017 1017
1018 ``editor`` 1018 ``editor``