##// END OF EJS Templates
merge: ensure that we always commit the mergestate...
Ryan McElroy -
r34681:c0a524f7 default
parent child Browse files
Show More
@@ -1537,6 +1537,7 def applyupdates(repo, actions, wctx, mc
1537 newactions.append((f, args, msg))
1537 newactions.append((f, args, msg))
1538 mergeactions = newactions
1538 mergeactions = newactions
1539
1539
1540 try:
1540 # premerge
1541 # premerge
1541 tocomplete = []
1542 tocomplete = []
1542 for f, args, msg in mergeactions:
1543 for f, args, msg in mergeactions:
@@ -1560,6 +1561,7 def applyupdates(repo, actions, wctx, mc
1560 progress(_updating, z, item=f, total=numupdates, unit=_files)
1561 progress(_updating, z, item=f, total=numupdates, unit=_files)
1561 ms.resolve(f, wctx)
1562 ms.resolve(f, wctx)
1562
1563
1564 finally:
1563 ms.commit()
1565 ms.commit()
1564
1566
1565 unresolved = ms.unresolvedcount()
1567 unresolved = ms.unresolvedcount()
General Comments 0
You need to be logged in to leave comments. Login now