Default mercurial.ini for Windows

Stephen Darnell stephen at darnell.plus.com
Fri May 5 03:18:28 CDT 2006


Bryan wrote:
>> 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 main point was that I think consistency is preferrable regardless
of the actual name chosen, and I was trying to throw a couple of
extra candidates into the pot to see if they were acceptable across
all platforms.

<thoughts type="personal" class="opinions">
The 'rc' part seems a little meaningless to me - I even googled,
and came across a few links (common problem eh?) but try here:
 http://www.faqs.org/faqs/usenet/faq/part1/section-6.html
which claims "Run commands" which I think is a misuse for a plain
config file (but makes more sense for the shell, editors, /etc/rc.d/..., 
etc.)
[One link offered a better (but less correct?): Resource Configuration]

To me, the format of the file is an 'ini' file but that is also
pretty meaningless: initialisation/configuration file
and probably a bit windows-centric for some tastes.

The 'hg' part is fine, unless it is jumbled up with other files, in
which case 'mercurial' is probably more descriptive.

My personal preference? I'd go for "mercurial.cfg".
</thoughts>

To re-iterate, I think it is more important to have consistently named
configuration files across platforms, and think .hgrc/hgrc is fine.

Regards,
  Stephen




More information about the Mercurial mailing list