equal
deleted
inserted
replaced
437 |
437 |
438 # Check if the changeset is obsolete |
438 # Check if the changeset is obsolete |
439 unfilteredrepo = repo.unfiltered() |
439 unfilteredrepo = repo.unfiltered() |
440 ctx = unfilteredrepo[changeid] |
440 ctx = unfilteredrepo[changeid] |
441 |
441 |
442 # If the changeset is obsolete, enrich the hint with the reason that |
442 # If the changeset is obsolete, enrich the message with the reason |
443 # made this changeset not visible |
443 # that made this changeset not visible |
444 if ctx.obsolete(): |
444 if ctx.obsolete(): |
445 reason = obsutil._getfilteredreason(unfilteredrepo, ctx) |
445 reason = obsutil._getfilteredreason(unfilteredrepo, ctx) |
446 msg = _("hidden revision '%s' %s") % (changeid, reason) |
446 msg = _("hidden revision '%s' %s") % (changeid, reason) |
447 else: |
447 else: |
448 msg = _("hidden revision '%s'") % changeid |
448 msg = _("hidden revision '%s'") % changeid |