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

Bryan O'Sullivan bos at serpentine.com
Sat Aug 13 11:00:27 CDT 2005


On Sat, 2005-08-13 at 14:50 +0200, Robin Farine wrote:


> But if an extension module like Chris' mq has to subclass 
> localrepository to add extension-specific state to repo objects, 
> what happens when two or more such extensions have to coexist?

Then use a class factory approach to get the class to construct in each
case.  Since extensions aren't loaded in parallel, it's safe for each to
say "use the current localrepository class as the superclass of my
class, then set mine as the new localrepository".

	<b

-- 
Bryan O'Sullivan <bos at serpentine.com>



More information about the Mercurial mailing list