[PATCH 3 of 3 STABLE?] cmdutil: delay examination of dirstate parents until editor invocation

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sun Nov 22 19:13:44 CST 2015



On 11/17/2015 07:26 AM, FUJIWARA Katsunori wrote:
> On the other hand, patch #1 is still useful for 3rd party extensions,
> which invoke 'repo.commit()' directly without acquisition of
> wlock/(s)lock and expect it to refer recent 'dirstate.parents()'
> correctly.
>
> Of course, ignoring such case is also reasonable, because Python API
> is non-official and no-warranty :-)

What are the actual cost and consequence of patch #1

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list