mercurial/obsutil.py
changeset 35610 22c42bfbe7ab
parent 35609 c026547454dd
child 35875 c0a6733f7e7a
--- a/mercurial/obsutil.py	Fri Jan 12 11:10:18 2018 +0000
+++ b/mercurial/obsutil.py	Fri Jan 12 11:15:41 2018 +0000
@@ -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