Show More
@@ -442,7 +442,7 b' def _filterederror(repo, changeid):' | |||
|
442 | 442 | # If the changeset is obsolete, enrich the message with the reason |
|
443 | 443 | # that made this changeset not visible |
|
444 | 444 | if ctx.obsolete(): |
|
445 |
msg = obsutil._getfilteredreason( |
|
|
445 | msg = obsutil._getfilteredreason(repo, changeid, ctx) | |
|
446 | 446 | else: |
|
447 | 447 | msg = _("hidden revision '%s'") % changeid |
|
448 | 448 |
@@ -875,10 +875,10 b' filteredmsgtable = {' | |||
|
875 | 875 | "%d more"), |
|
876 | 876 | } |
|
877 | 877 | |
|
878 |
def _getfilteredreason( |
|
|
878 | def _getfilteredreason(repo, changeid, ctx): | |
|
879 | 879 | """return a human-friendly string on why a obsolete changeset is hidden |
|
880 | 880 | """ |
|
881 |
successors = successorssets( |
|
|
881 | successors = successorssets(repo, ctx.node()) | |
|
882 | 882 | fate = _getobsfate(successors) |
|
883 | 883 | |
|
884 | 884 | # Be more precise in case the revision is superseded |
General Comments 0
You need to be logged in to leave comments.
Login now