pager: add support to `hg topic` stable
authorPulkit Goyal <7895pulkit@gmail.com>
Fri, 13 Oct 2017 06:06:09 +0530
branchstable
changeset 3066 512827b1a24a
parent 3065 fdd0b6c26597
child 3067 1769a8c20a82
pager: add support to `hg topic`
hgext3rd/topic/__init__.py
--- a/hgext3rd/topic/__init__.py	Fri Oct 13 06:02:56 2017 +0530
+++ b/hgext3rd/topic/__init__.py	Fri Oct 13 06:06:09 2017 +0530
@@ -445,6 +445,8 @@
         # Have some restrictions on the topic name just like bookmark name
         scmutil.checknewlabel(repo, topic, 'topic')
 
+    compat.startpager(ui, 'topics')
+
     if list:
         if clear or rev:
             raise error.Abort(_("cannot use --clear or --rev with --list"))