Ignored [defaults] section in local hgrc file

Laurent Birtz laurent.birtz at kryptiva.com
Tue Jul 31 17:43:32 UTC 2007


Hello,

after searching the mailing list I have discovered that the [defaults]
section in my per-project hgrc file is ignored. This behavior prevents me
from using the [default] section in my project hrgc file to specify a
list of files to ignore during a commit. I need to do this to prevent
myself from accidentally commiting modified versions of the config files
in the project. As a work-around I am modifying my global hgrc file,
which is not great since I have several projects controlled by Mercurial.

I would like to know the rationale behind the current behavior, and if it
is possible to change it. If not, adding a warning in the hgrc man page
would be nice.

Thanks for your time, and for Mercurial!
Laurent Birtz



More information about the Mercurial mailing list