mercurial/merge.py
branchstable
changeset 38757 d49e490a9e85
parent 38732 be4984261611
child 39463 7fea205fd5dc
equal deleted inserted replaced
38756:91c405f84cf7 38757:d49e490a9e85
  1422                 # These two could be merged as first move and then delete ...
  1422                 # These two could be merged as first move and then delete ...
  1423                 # but instead drop moving and just delete.
  1423                 # but instead drop moving and just delete.
  1424                 del actions[f]
  1424                 del actions[f]
  1425         repo.ui.note(_('end of auction\n\n'))
  1425         repo.ui.note(_('end of auction\n\n'))
  1426 
  1426 
  1427     _resolvetrivial(repo, wctx, mctx, ancestors[0], actions)
       
  1428 
       
  1429     if wctx.rev() is None:
  1427     if wctx.rev() is None:
  1430         fractions = _forgetremoved(wctx, mctx, branchmerge)
  1428         fractions = _forgetremoved(wctx, mctx, branchmerge)
  1431         actions.update(fractions)
  1429         actions.update(fractions)
  1432 
  1430 
  1433     prunedactions = sparse.filterupdatesactions(repo, wctx, mctx, branchmerge,
  1431     prunedactions = sparse.filterupdatesactions(repo, wctx, mctx, branchmerge,
  1434                                                 actions)
  1432                                                 actions)
       
  1433     _resolvetrivial(repo, wctx, mctx, ancestors[0], actions)
  1435 
  1434 
  1436     return prunedactions, diverge, renamedelete
  1435     return prunedactions, diverge, renamedelete
  1437 
  1436 
  1438 def _getcwd():
  1437 def _getcwd():
  1439     try:
  1438     try: