Patchwork D1851: visibilty: fix a comment introduced before which is not up-to-date

login
register
mail settings
Submitter phabricator
Date Jan. 12, 2018, 11:33 a.m.
Message ID <differential-rev-PHID-DREV-ftaospkduc7cnb6uyl5g-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/26694/
State Superseded
Headers show

Comments

phabricator - Jan. 12, 2018, 11:33 a.m.
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




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

Patch

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)