[PATCH 1 of 4] contrib: rename sample config files from .hgrc to the correct .rc extension

Mads Kiilerich mads at kiilerich.com
Sat Aug 30 08:38:23 CDT 2014


On 08/30/2014 03:11 PM, Matt Mackall wrote:
> On Sat, 2014-08-30 at 14:51 +0200, Mads Kiilerich wrote:
>> # HG changeset patch
>> # User Mads Kiilerich <madski at unity3d.com>
>> # Date 1409401920 -7200
>> #      Sat Aug 30 14:32:00 2014 +0200
>> # Node ID 04876a023f7467c87fd992148bf676be50dfdf57
>> # Parent  926bc0d3b595caf37c5d70833a347eb43285de2f
>> contrib: rename sample config files from .hgrc to the correct .rc extension
> We decided on Friday to kill sample.hgrc. I'd rather not rename
> mergetools.

Do you agree that the intended (and almost only) use of mergetools.hgrc 
is to put it in /etc/mercurial/hgrc.d/mergetools.rc ? So much that it 
would be incorrect packaging if a package provides a Mercurial without 
decent default configuration of default merge tools?

AFAICS there is no simple way to rename files when creating installers 
with setup.py (such as for OS X later in this bomb raid). Is it really 
worth it to create a custom setup.py distutils Command just for renaming 
the file while installing it?

/Mads


More information about the Mercurial-devel mailing list