mercurial/context.py
changeset 40061 a38a99c74ad4
parent 40046 50700a025953
child 40062 b6c2543e1dd8
equal deleted inserted replaced
40060:6346e21eecc8 40061:a38a99c74ad4
   383 class changectx(basectx):
   383 class changectx(basectx):
   384     """A changecontext object makes access to data related to a particular
   384     """A changecontext object makes access to data related to a particular
   385     changeset convenient. It represents a read-only context already present in
   385     changeset convenient. It represents a read-only context already present in
   386     the repo."""
   386     the repo."""
   387     def __init__(self, repo, rev, node):
   387     def __init__(self, repo, rev, node):
   388         """changeid is a revision number, node, or tag"""
       
   389         super(changectx, self).__init__(repo)
   388         super(changectx, self).__init__(repo)
   390         self._rev = rev
   389         self._rev = rev
   391         self._node = node
   390         self._node = node
   392 
   391 
   393     def __hash__(self):
   392     def __hash__(self):