mercurial/context.py
changeset 40989 e10adebf8176
parent 40944 789515904b03
parent 40986 328557af18eb
child 40990 39953bcf1f51
--- a/mercurial/context.py	Mon Dec 17 15:05:52 2018 +0100
+++ b/mercurial/context.py	Tue Dec 18 10:21:25 2018 -0500
@@ -2330,6 +2330,9 @@
         if copied:
             self._copied = (copied, nullid)
 
+    def cmp(self, fctx):
+        return self.data() != fctx.data()
+
     def data(self):
         return self._data