mercurial/upgrade.py
changeset 32028 99f63f476a72
parent 31904 3c77f03f16b3
child 32029 9e35848fa007
--- a/mercurial/upgrade.py	Sun Apr 16 02:34:08 2017 +0200
+++ b/mercurial/upgrade.py	Mon Apr 17 13:07:22 2017 +0200
@@ -144,6 +144,9 @@
             return NotImplemented
         return self.name == other.name
 
+    def __ne__(self, other):
+        return not self == other
+
 def finddeficiencies(repo):
     """returns a list of deficiencies that the repo suffer from"""
     newreporeqs = localrepo.newreporequirements(repo)