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

login
register
mail settings
Submitter phabricator
Date Jan. 12, 2018, 12:48 p.m.
Message ID <475cbe22195a02afb3f21ef30b4e5c44@localhost.localdomain>
Download mbox | patch
Permalink /patch/26698/
State Not Applicable
Headers show

Comments

phabricator - Jan. 12, 2018, 12:48 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG49e073ea09d6: visibilty: fix a comment introduced before which is not up-to-date (authored by lothiraldan, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1851?vs=4800&id=4804

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

AFFECTED FILES
  mercurial/context.py

CHANGE DETAILS




To: lothiraldan, #hg-reviewers, yuja
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)