Global subrepository config option?
mg at lazybytes.net
Mon Sep 13 07:26:36 CDT 2010
The following commands now support the --subrepos flag that lets them
work transparently on subrepositories:
I expect that people want to use this option almost all the time if they
are heavy users of subrepos. My client suggests that we make a global
config option that will enable recursive behavior (or disable it).
recurse = True
Perhaps it would also be smart to make the --subrepos option a Boolean
option, similar to how the --color option behaves:
hg status --subrepos=never # no recursion
hg status --subrepos=yes # yes, please recurse into subrepos
hg status --subrepos # interpret this as yes (True)
That way, the user can override the config file as needed. This should
also work for commit, then:
hg commit --subrepos=no -m 'Just the top-level files'
but maybe that is more controversal?
Mercurial links: http://mercurial.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the Mercurial-devel