mercurial/context.py
changeset 36411 38f480502043
parent 36009 55e8efa2451a
child 36607 c6061cadb400
--- a/mercurial/context.py	Sat Feb 24 11:17:10 2018 -0800
+++ b/mercurial/context.py	Sat Feb 24 11:21:14 2018 -0800
@@ -78,9 +78,6 @@
 
     __str__ = encoding.strmethod(__bytes__)
 
-    def __int__(self):
-        return self.rev()
-
     def __repr__(self):
         return r"<%s %s>" % (type(self).__name__, str(self))