Mercurial > public > mercurial-scm > evolve
diff hgext3rd/topic/compat.py @ 3701:29c413a7dfb5
compat: drop compatibility layer for pager
All versions we support now support `ui.pager`.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 19 Apr 2018 16:27:13 +0200 |
parents | 3680f715c14f |
children | 92e3db149d7d |
line wrap: on
line diff
--- a/hgext3rd/topic/compat.py Thu Apr 19 16:25:17 2018 +0200 +++ b/hgext3rd/topic/compat.py Thu Apr 19 16:27:13 2018 +0200 @@ -24,10 +24,3 @@ getmarkers = obsolete.getmarkers if successorssets is None: successorssets = obsolete.successorssets - -def startpager(ui, cmd): - """function to start a pager in case ui.pager() exists""" - try: - ui.pager(cmd) - except AttributeError: - pass