pager: move more behavior into core
This moves the global flag and the --pager=yes logic into core. Only functionality change is that users now always get a --pager flag and can enable the pager via the flag without the extension active. Moving the flag into core exposes a defect in the ro localization, which will have to be corrected later.
Showing
- hgext/pager.py 3 additions, 17 deletionshgext/pager.py
- mercurial/commands.py 2 additions, 0 deletionsmercurial/commands.py
- mercurial/dispatch.py 2 additions, 0 deletionsmercurial/dispatch.py
- tests/test-completion.t 2 additions, 0 deletionstests/test-completion.t
- tests/test-extension.t 12 additions, 0 deletionstests/test-extension.t
- tests/test-gendoc-ro.t 5 additions, 0 deletionstests/test-gendoc-ro.t
- tests/test-help.t 10 additions, 0 deletionstests/test-help.t
Loading
Please register or sign in to comment