pager: add support to `hg evolve --list` stable
authorPulkit Goyal <7895pulkit@gmail.com>
Fri, 13 Oct 2017 06:10:41 +0530
branchstable
changeset 3068 8adf34767c29
parent 3067 1769a8c20a82
child 3069 1893bde71ebc
pager: add support to `hg evolve --list`
hgext3rd/evolve/__init__.py
--- a/hgext3rd/evolve/__init__.py	Fri Oct 13 06:08:32 2017 +0530
+++ b/hgext3rd/evolve/__init__.py	Fri Oct 13 06:10:41 2017 +0530
@@ -1523,6 +1523,7 @@
     troublecategories = ['phasedivergent', 'contentdivergent', 'orphan']
     specifiedcategories = [t for t in troublecategories if opts[t]]
     if listopt:
+        compat.startpager(ui, 'evolve')
         listtroubles(ui, repo, specifiedcategories, **opts)
         return