mercurial/merge.py
changeset 18650 de0bd4bfc6d7
parent 18640 a8648f32b8ed
child 18651 e556659340f0
equal deleted inserted replaced
18649:0969980308c7 18650:de0bd4bfc6d7
   513         if (not branchmerge and
   513         if (not branchmerge and
   514             (force or not tctx.dirty(missing=True, branch=False))):
   514             (force or not tctx.dirty(missing=True, branch=False))):
   515             _checkcollision(mctx, None)
   515             _checkcollision(mctx, None)
   516         else:
   516         else:
   517             _checkcollision(mctx, (tctx, ancestor))
   517             _checkcollision(mctx, (tctx, ancestor))
   518     if tctx.rev() is None:
       
   519         actions += _forgetremoved(tctx, mctx, branchmerge)
       
   520     actions += manifestmerge(repo, tctx, mctx,
   518     actions += manifestmerge(repo, tctx, mctx,
   521                              ancestor,
   519                              ancestor,
   522                              branchmerge, force,
   520                              branchmerge, force,
   523                              partial)
   521                              partial)
       
   522     if tctx.rev() is None:
       
   523         actions += _forgetremoved(tctx, mctx, branchmerge)
   524     return actions
   524     return actions
   525 
   525 
   526 def recordupdates(repo, actions, branchmerge):
   526 def recordupdates(repo, actions, branchmerge):
   527     "record merge actions to the dirstate"
   527     "record merge actions to the dirstate"
   528 
   528