diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -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))