[ANN] cedit configuration editor extension

Paul Lambert pauldevmailing at gmail.com
Mon Feb 1 15:05:14 CST 2010


> 
> iniparse has a couple of warts that you need to be aware of.
> 
> 1) It treats lines that begin with 'rem' as comments
> 2) It does not support our ConfigParser %include statements
> 
> TortoiseHg works around both problems by monkey patching iniparse's
> comment regexp:
> 
> http://bitbucket.org/tortoisehg/stable/src/tip/tortoisehg/hgtk/thgconfig.py#cl-1084
> 

Thanks Steve. I am already including a patched iniparse in my extension and so will simply repatch using the regex you linked. I've included the changes I've already made in an upstream patch to the main iniparse development, do you have any objections if I do the same with your comment regex?

Paul



More information about the Mercurial-devel mailing list