<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hello,</div><div><br></div><div>I am working on cedit, an extension to manage Mercurial configuration files via the command line.</div><div><br></div><div>You can get the latest version here:&nbsp;<a href="http://bitbucket.org/paulitex/cedit/">http://bitbucket.org/paulitex/cedit/</a></div><div><br></div><div>I am aware of two previous editor extensions,&nbsp;<a href="http://mercurial.selenic.com/wiki/ConfigExtensionCommandLine">http://mercurial.selenic.com/wiki/ConfigExtensionCommandLine</a>&nbsp;and <a href="http://mercurial.selenic.com/wiki/ConfigExtension">http://mercurial.selenic.com/wiki/ConfigExtension</a>.&nbsp;</div><div><br></div><div>Cedit improves on the first in a number of ways, including both command-line parsing and an interactive editor, by using iniparse to better preserve the structure of manual edits, and by including a bootstrapping script to install itself as an extension (thereby closing the loop of having to manually edit the config files, even once). The second has been declared defunct by its author and hasn't been updated in 2 years.</div><div><br></div><div>While power users are probably quite comfortable manually editing their hgrc, this is still a hurdle for newcomers (and others have complained... <a href="http://stevelosh.com/blog/2009/05/what-i-hate-about-mercurial/">http://stevelosh.com/blog/2009/05/what-i-hate-about-mercurial/</a>). To really help out the new guys, I've also include a 'hg setuser' command to quickly set their username so they can get started and push to most public repos. Moreover, I've found that writing 'hg cedit -d "foo.bar"' is still notably quicker than using my text editor to do the same.&nbsp;</div><div><br></div><div>This is my first contribution to Mercurial and I'd really appreciate any feedback.</div><div><br></div><div>Thanks,</div><div><br></div><div>Paul Lambert</div><div><br></div><div>Cedit is being developed as&nbsp;part of an Undergraduate Capstone Open-source Project (UCOSP).</div>You can learn more about UCOSP at&nbsp;<a href="http://ucosp.wordpress.com/about/">http://ucosp.wordpress.com/about/</a>&nbsp;<br>For Mercurial-specific information see<br><a href="https://ucosp.fogbugz.com/default.asp?W1">https://ucosp.fogbugz.com/default.asp?W1</a>&nbsp;</body></html>