##// END OF EJS Templates
changing-files: implement equality checking...
marmoute -
r46079:df878210 default
parent child Browse files
Show More
@@ -50,6 +50,15 b' class ChangingFiles(object):'
50 self._p1_copies = dict(p1_copies)
50 self._p1_copies = dict(p1_copies)
51 self._p2_copies = dict(p2_copies)
51 self._p2_copies = dict(p2_copies)
52
52
53 def __eq__(self, other):
54 return (
55 self.added == other.added
56 and self.removed == other.removed
57 and self.touched == other.touched
58 and self.copied_from_p1 == other.copied_from_p1
59 and self.copied_from_p2 == other.copied_from_p2
60 )
61
53 @property
62 @property
54 def added(self):
63 def added(self):
55 """files actively added in the changeset
64 """files actively added in the changeset
General Comments 0
You need to be logged in to leave comments. Login now