equal
deleted
inserted
replaced
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): |