mercurial/merge.py
changeset 41050 6faaf3a1c6ec
parent 41039 54c3b4bd01f2
child 41155 8c222bec97da
equal deleted inserted replaced
41049:021496277392 41050:6faaf3a1c6ec
  1536     mergedcount = attr.ib()
  1536     mergedcount = attr.ib()
  1537     removedcount = attr.ib()
  1537     removedcount = attr.ib()
  1538     unresolvedcount = attr.ib()
  1538     unresolvedcount = attr.ib()
  1539 
  1539 
  1540     def isempty(self):
  1540     def isempty(self):
  1541         return (not self.updatedcount and not self.mergedcount
  1541         return not (self.updatedcount or self.mergedcount
  1542                 and not self.removedcount and not self.unresolvedcount)
  1542                     or self.removedcount or self.unresolvedcount)
  1543 
  1543 
  1544 def emptyactions():
  1544 def emptyactions():
  1545     """create an actions dict, to be populated and passed to applyupdates()"""
  1545     """create an actions dict, to be populated and passed to applyupdates()"""
  1546     return dict((m, [])
  1546     return dict((m, [])
  1547                 for m in (
  1547                 for m in (