D1851: visibilty: fix a comment introduced before which is not up-to-date
lothiraldan (Boris Feld)
phabricator at mercurial-scm.org
Fri Jan 12 07:48:32 EST 2018
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
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, yuja
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list