pager: add support to --patch, --list and --stat options of hg shelve
authorPulkit Goyal <7895pulkit@gmail.com>
Sat, 25 Feb 2017 03:42:43 +0530
changeset 31096 356937ea7a02
parent 31095 b4cb86ab4c71
child 31097 4a1486c73fdf
pager: add support to --patch, --list and --stat options of hg shelve
hgext/shelve.py
--- a/hgext/shelve.py	Mon Feb 20 12:42:35 2017 +0100
+++ b/hgext/shelve.py	Sat Feb 25 03:42:43 2017 +0530
@@ -485,6 +485,7 @@
     if not ui.plain():
         width = ui.termwidth()
     namelabel = 'shelve.newest'
+    ui.pager('shelve')
     for mtime, name in listshelves(repo):
         sname = util.split(name)[1]
         if pats and sname not in pats: