Mercurial > hg-stable
changeset 35608:fe4e1352c035
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
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 12 Jan 2018 11:09:04 +0000 |
parents | 24b5106e3e1e |
children | c026547454dd |
files | mercurial/context.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)