In mercurial, is there a way to disable ALL configurations (system, user, repo)?

Posted by Geoffrey Zheng on Stack Overflow See other posts from Stack Overflow or by Geoffrey Zheng
Published on 2010-12-23T19:10:10Z Indexed on 2010/12/23 20:54 UTC
Read the original article Hit count: 240

Filed under:

On any non-trivial hg installation, the hgrc's tend to contain significant stuff.

Is there a way to completely ignore/bypass ALL configurations, from system, user, to repo-level?

The use case is to use some hg core functionalities in some automation scripts. Currently, if anything is misconfigured (and I mess with my ~/.hgrc a lot), the scripts will abort for something it doesn't use at all.

It'd be perfect is I can just hg <whatever> --config:none.

© Stack Overflow or respective owner

Related posts about mercurial