D1851: visibilty: fix a comment introduced before which is not up-to-date
lothiraldan (Boris Feld)
phabricator at mercurial-scm.org
Fri Jan 12 11:33:12 UTC 2018
lothiraldan created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
https://phab.mercurial-scm.org/rHG265cd9e19d26dd7f684f660b6c267b45427284e8 introduced a comment in _filterederror that was not updated with
the latest iterations of the patch, fix the comment.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D1851
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
@@ -439,8 +439,8 @@
unfilteredrepo = repo.unfiltered()
ctx = unfilteredrepo[changeid]
- # If the changeset is obsolete, enrich the hint with the reason that
- # made this changeset not visible
+ # If the changeset is obsolete, enrich the message with the reason
+ # that made this changeset not visible
if ctx.obsolete():
reason = obsutil._getfilteredreason(unfilteredrepo, ctx)
msg = _("hidden revision '%s' %s") % (changeid, reason)
To: lothiraldan, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list