mercurial/merge.py
changeset 45493 2c10876bb320
parent 45488 c4f14db3da1d
child 45499 19590b126764
equal deleted inserted replaced
45492:08c6d6962b2a 45493:2c10876bb320
  1396     """
  1396     """
  1397 
  1397 
  1398     _prefetchfiles(repo, mctx, mresult)
  1398     _prefetchfiles(repo, mctx, mresult)
  1399 
  1399 
  1400     updated, merged, removed = 0, 0, 0
  1400     updated, merged, removed = 0, 0, 0
  1401     ms = mergestatemod.mergestate.clean(
  1401     ms = mergestatemod.mergestate.clean(repo)
  1402         repo, wctx.p1().node(), mctx.node(), labels
  1402     ms.start(wctx.p1().node(), mctx.node(), labels)
  1403     )
       
  1404 
  1403 
  1405     for f, op in pycompat.iteritems(mresult.commitinfo):
  1404     for f, op in pycompat.iteritems(mresult.commitinfo):
  1406         # the other side of filenode was choosen while merging, store this in
  1405         # the other side of filenode was choosen while merging, store this in
  1407         # mergestate so that it can be reused on commit
  1406         # mergestate so that it can be reused on commit
  1408         ms.addcommitinfo(f, op)
  1407         ms.addcommitinfo(f, op)