comparison mercurial/commands.py @ 31044:cd9cf641043a

status: enable pager
author Augie Fackler <augie@google.com>
date Mon, 06 Feb 2017 23:06:32 -0500
parents 9219165e1cc8
children 8467569991cb
comparison
equal deleted inserted replaced
31043:9219165e1cc8 31044:cd9cf641043a
4788 4788
4789 if (opts.get('all') or opts.get('copies') 4789 if (opts.get('all') or opts.get('copies')
4790 or ui.configbool('ui', 'statuscopies')) and not opts.get('no_status'): 4790 or ui.configbool('ui', 'statuscopies')) and not opts.get('no_status'):
4791 copy = copies.pathcopies(repo[node1], repo[node2], m) 4791 copy = copies.pathcopies(repo[node1], repo[node2], m)
4792 4792
4793 ui.pager('status')
4793 fm = ui.formatter('status', opts) 4794 fm = ui.formatter('status', opts)
4794 fmt = '%s' + end 4795 fmt = '%s' + end
4795 showchar = not opts.get('no_status') 4796 showchar = not opts.get('no_status')
4796 4797
4797 for state, char, files in changestates: 4798 for state, char, files in changestates: