Who set that option?

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Wed Mar 26 10:47:24 CDT 2008


On Wed, Mar 26, 2008 at 3:24 PM, Andreas Axelsson
<andreas.axelsson at gmail.com> wrote:
>
> It'd be nice to have an option to showconfig which would show where a
> setting originated from. I just tracked down the source of a bogus
> configuration entry by greping the entire disk.
>
> I'm currently working on setting up a proper working build environment here
> on a clean machine, and when I get it to work properly I could give it a go
> if anyone's interested.

I've been looking into this too, just didn't get around to it yet. I
don't think it's easy given the current options parser. But simply
tracking all the config files getting loaded /would/ be easy. If you
output those, you can then target your grep much better, so I think it
might do. Tell me if you go for it, 'cause then I won't. ;)

-peo


More information about the Mercurial mailing list