[patch 4/4] This adds support for an [extensions] section to hgrc. This has the form of:

Matt Mackall mpm at selenic.com
Sat Aug 13 03:13:00 CDT 2005


On Fri, Aug 12, 2005 at 01:55:55PM -0400, Chris Mason wrote:
> On Friday 12 August 2005 13:18, Bryan O'Sullivan wrote:
> 
> > Here's the approach I'd prefer to see.  This changes the way
> > repositories are created so that you can customise it.  Just modify the
> > contents of hg.protocols, and you're done.  In your case, you'd want to
> > subclass localrepository, then set protocols['file'] to return one of
> > your new objects.
> 
> I have mixed feelings on this one...Matt, how would you rather see it work?

I kind of like it, though I'd rather see lambdas and some other minor
details. Any specific objections?

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list