##// END OF EJS Templates
mergestate: add a way to record pending dirstate actions...
Siddharth Agarwal -
r27088:e2b79f57 default
parent child Browse files
Show More
@@ -517,6 +517,11 b' class mergestate(object):'
517 actions[action].append((f, None, "merge result"))
517 actions[action].append((f, None, "merge result"))
518 return actions
518 return actions
519
519
520 def recordactions(self):
521 """record remove/add/get actions in the dirstate"""
522 branchmerge = self._repo.dirstate.p2() != nullid
523 recordupdates(self._repo, self.actions(), branchmerge)
524
520 def _checkunknownfile(repo, wctx, mctx, f, f2=None):
525 def _checkunknownfile(repo, wctx, mctx, f, f2=None):
521 if f2 is None:
526 if f2 is None:
522 f2 = f
527 f2 = f
General Comments 0
You need to be logged in to leave comments. Login now