visibility: fix a comment introduced before which is not up-to-date
authorBoris Feld <boris.feld@octobus.net>
Fri, 12 Jan 2018 11:09:04 +0000
changeset 35608 fe4e1352c035
parent 35607 24b5106e3e1e
child 35609 c026547454dd
visibility: fix a comment introduced before which is not up-to-date 265cd9e19d26 introduced a comment in _filterederror that was not updated with the latest iterations of the patch, fix the comment. Differential Revision: https://phab.mercurial-scm.org/D1851
mercurial/context.py
--- a/mercurial/context.py	Wed Jan 10 19:24:58 2018 -0800
+++ b/mercurial/context.py	Fri Jan 12 11:09:04 2018 +0000
@@ -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)