[PATCH 1 of 9 V3] cmdutil: add the class to restore dirstate at unexpected failure easily

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Tue May 19 09:31:26 CDT 2015


At Tue, 19 May 2015 00:56:06 -0500,
Pierre-Yves David wrote:
> 
> 
> 
> On 05/12/2015 07:54 AM, FUJIWARA Katsunori wrote:
> > After working with '.pending' mechanism, I realize that writing
> > dirstate out should be done in "cmdutil.commitforceeditor()" instead
> > of in "repo.commit()" for '.pending' awareness.
> >
> > Could you drop only #9 of this series from clowncopter ?
> 
> What's the status on this? I would be happy to see issue 4378 fixed and 
> we seemed to be only a few centimeters away.

I just finished all, and am sending 2 series below one after another !

  1. prepare for making dirstate aware of PENDING mechanism (6 patches)

  2. make in-memory dirstate changes visible to external process
     2.1 commit editor (for issue4378)
     2.2 precommit hooks
     2.3 pretxncommit hooks
     2.4 preupdate and update hooks

BTW, I will also send another series for STABLE to fix TXN*/pending
hook argument problems found while working for issue4378 :-) The last
patch of this series has a relation with (2.2) and (2.4) above. Please
pay attention to this series, too.


> -- 
> Pierre-Yves David
> 

----------------------------------------------------------------------
[FUJIWARA Katsunori]                             foozy at lares.dti.ne.jp


More information about the Mercurial-devel mailing list