equal
deleted
inserted
replaced
565 merged += 1 |
565 merged += 1 |
566 return updated, merged, removed |
566 return updated, merged, removed |
567 |
567 |
568 def unresolvedcount(self): |
568 def unresolvedcount(self): |
569 """get unresolved count for this merge (persistent)""" |
569 """get unresolved count for this merge (persistent)""" |
570 return len([True for f, entry in self._state.iteritems() |
570 return len(list(self.unresolved())) |
571 if entry[0] == 'u']) |
|
572 |
571 |
573 def actions(self): |
572 def actions(self): |
574 """return lists of actions to perform on the dirstate""" |
573 """return lists of actions to perform on the dirstate""" |
575 actions = {'r': [], 'f': [], 'a': [], 'am': [], 'g': []} |
574 actions = {'r': [], 'f': [], 'a': [], 'am': [], 'g': []} |
576 for f, (r, action) in self._results.iteritems(): |
575 for f, (r, action) in self._results.iteritems(): |