D4880: context: drop incorrect and superfluous docstring

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Oct 4 17:31:25 UTC 2018


martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  It's been incorrect since https://phab.mercurial-scm.org/rHG3d35304bd09bf19e7e08d253a915e400f2d25591 (context: move logic from
  changectx.__init__ to localrepo.__getitem__ (API), 2018-09-26).

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D4880

AFFECTED FILES
  mercurial/context.py

CHANGE DETAILS

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -385,7 +385,6 @@
     changeset convenient. It represents a read-only context already present in
     the repo."""
     def __init__(self, repo, rev, node):
-        """changeid is a revision number, node, or tag"""
         super(changectx, self).__init__(repo)
         self._rev = rev
         self._node = node



To: martinvonz, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list