Default mercurial.ini for Windows

Bryan O'Sullivan bos at serpentine.com
Thu May 4 17:59:10 CDT 2006


On Thu, 2006-05-04 at 23:28 +0100, Stephen Darnell wrote:

> I don't use the py2exe form on Windows, and the module filename is
> always c:\Python2.4\python.exe which results in the default
> mercurial.ini being located in c:\python2.4\mercurial.ini which I
> guess does no harm, but isn't documented and 'feels a bit odd'.

Hmm, that's not good.  When I originally wrote that code, the intention
was that the ini file would go somewhere sensible, and I don't think
that the python install directory counts :-(

> Would it be better to only do this for the py2exe'd form?

I think so.

> Final question on consistency, why is it called hgrc on non-Windows and 
> mercurial.ini on Windows? Surely this makes describing the situation harder 
> than it could be, all for the sake of 'dumbing down' to Windows users.
> 
> What's wrong with any of hgrc, hg.rc, hg.ini, hgconfig.ini, or 
> mercurial.(rc|ini|cfg) for all platforms?

Why do you think any of those alternate names helps?  Just curious.

> My proposal is to ditch "hg paths"+"hg version" and replace it with a "hg 
> info"

I think that a "hg info" would be good and useful if it were put
together as "hg debuginfo" (i.e. hidden from normal visibility), but
should not replace "paths" or "version".

	<b

-- 
Bryan O'Sullivan <bos at serpentine.com>



More information about the Mercurial mailing list