Comments
Patch
@@ -875,10 +875,10 @@
"%d more"),
}
-def _getfilteredreason(unfilteredrepo, changeid, ctx):
+def _getfilteredreason(repo, changeid, ctx):
"""return a human-friendly string on why a obsolete changeset is hidden
"""
- successors = successorssets(unfilteredrepo, ctx.node())
+ successors = successorssets(repo, ctx.node())
fate = _getobsfate(successors)
# Be more precise in case the revision is superseded
@@ -442,7 +442,7 @@
# If the changeset is obsolete, enrich the message with the reason
# that made this changeset not visible
if ctx.obsolete():
- msg = obsutil._getfilteredreason(unfilteredrepo, changeid, ctx)
+ msg = obsutil._getfilteredreason(repo, changeid, ctx)
else:
msg = _("hidden revision '%s'") % changeid