[PATCH] chgserver: include [extdiff] in confighash

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Mar 11 08:41:25 EST 2016



On 03/11/2016 01:06 PM, Jun Wu wrote:
> On 03/11/2016 01:04 PM, Pierre-Yves David wrote:
>> What is the story for another extensions (3rd party) that need to
>> register
>> itself here?
>
> They can import chgserver and change the array, just like
> hg.wirepeersetupfuncs

But are they loaded soon enough to allow the chg server to use them for 
its hashing?

> I thought about doing this in extdiff.py but since we tends to handle
> internal
> extensions (pager, progress etc.) directly in command server code so I
> follow
> the pattern.

progress is in core and pager is getting there. I think it would be 
better to do it in the extension to make sure 3rd party one can actually 
use this.

Cheers,

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list