[PATCH 3 of 4] osx: install /etc/mercurial/hgrc.d/mergetools.rc and sample.rc

Matt Mackall mpm at selenic.com
Sun Aug 31 05:41:43 CDT 2014


On Sat, 2014-08-30 at 14:51 +0200, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <madski at unity3d.com>
> # Date 1409402149 -7200
> #      Sat Aug 30 14:35:49 2014 +0200
> # Node ID 9fdbd8dc7fd50cc10d3784826e6f7a5b19cff771
> # Parent  3fe97f7dc300e16d338efc923f5f66a0bf960b99
> osx: install /etc/mercurial/hgrc.d/mergetools.rc and sample.rc
> 
> Give a better use experience by default.

This is a bit problematic in that we don't do this normally when running
setup.py and leave this to 'packagers'. Having people running pip or
whatever start clobbering these files is probably bad.

On the other hand, it's okay for the packages to install these files if
it's appropriate in that environment, because Debian partly
manages /etc. However, they also make an effort to never overwrite these
files if they've been customized, because they're "owned" by the user.
And I suspect setup.py's support for doing that right is negligible?

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list