Patchwork D2433: context: remove basectx.__int__ (API)

login
register
mail settings
Submitter phabricator
Date Feb. 25, 2018, 1:54 a.m.
Message ID <f208a8d608b956f8021e15f11e6b28eb@localhost.localdomain>
Download mbox | patch
Permalink /patch/28351/
State Not Applicable
Headers show

Comments

phabricator - Feb. 25, 2018, 1:54 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG38f480502043: context: remove basectx.__int__ (API) (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2433?vs=6065&id=6078

REVISION DETAIL
  https://phab.mercurial-scm.org/D2433

AFFECTED FILES
  mercurial/context.py

CHANGE DETAILS




To: indygreg, #hg-reviewers, yuja
Cc: mercurial-devel

Patch

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))