diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -66,13 +66,7 @@ if isinstance(changeid, basectx): return changeid - o = super(basectx, cls).__new__(cls) - - o._repo = repo - o._rev = nullrev - o._node = nullid - - return o + return super(basectx, cls).__new__(cls) def __bytes__(self): return short(self.node())