On Fri, 03 Feb 2017 16:16:09 -0800, Bryan O'Sullivan wrote: > # HG changeset patch > # User Bryan O'Sullivan <bry...@fb.com> > # Date 1486160890 28800 > # Fri Feb 03 14:28:10 2017 -0800 > # Node ID 30ee18bf947b97eca3582555f63eb3b2441e9db8 > # Parent abf029200e198878a4576a87e095bd8d77d9cea9 > pager: migrate heavily-used extension into core > > No default behaviours were harmed during the making of this change.
I like the direction of this patch, but this still involves a behavior change. If PAGER variable is set but pager extension disabled, pager will be started wrongly. > def _runcommand(ui, options, cmd, cmdfunc): > """Run a command function, possibly with profiling enabled.""" > try: > + p = ui.config("pager", "pager", encoding.environ.get("PAGER")) > + usepager = ui.pageractive > + always = util.parsebool(options['pager']) > + auto = options['pager'] == 'auto' _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel