--- a/mercurial/context.py Thu Aug 15 15:03:52 2013 -0500 +++ b/mercurial/context.py Thu Aug 15 15:04:36 2013 -0500 @@ -1578,9 +1578,6 @@ self._text = editor(self._repo, self, []) self._repo.savecommitmessage(self._text) - def __int__(self): - return self._rev - def __nonzero__(self): return True