Mercurial > hg
comparison mercurial/context.py @ 40061:a38a99c74ad4
context: drop incorrect and superfluous docstring
It's been incorrect at least since 8b86acc7aa64 (context: drop support
for looking up context by ambiguous changeid (API), 2018-04-28).
Differential Revision: https://phab.mercurial-scm.org/D4880
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 04 Oct 2018 10:30:05 -0700 |
parents | 50700a025953 |
children | b6c2543e1dd8 |
comparison
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): |