[PATCH 2 of 3] modulepolicy: create a module for the modulepolicy

Yuya Nishihara yuya at tcha.org
Thu Mar 10 08:40:32 EST 2016


On Wed, 9 Mar 2016 20:30:08 +0000, Pierre-Yves David wrote:
> On 03/09/2016 08:18 PM, timeless wrote:
> > yuja asked me for it.
> >
> > I don't claim it's better.
> 
> What's yuya rational for this?

We don't need two modulepolicy hacks. @MODULELOADPOLICY@ for system
installation, and mercurial/modulepolicy for in-place use. Both of them
can be handled by a single __modulepolicy__.py as Python modules should
be installed without extra effort.


More information about the Mercurial-devel mailing list