[PATCH 2 of 3 V2] pager: skip uisetup if chg is detected

Durham Goode durham at fb.com
Thu Mar 17 02:39:31 EDT 2016


On 3/16/16 5:08 AM, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1457967799 0
> #      Mon Mar 14 15:03:19 2016 +0000
> # Node ID f09ac10a2f99ebc65143aff19fa73d1ad3024da0
> # Parent  bc925c3acec1c4938f49d623e797444d955eb59d
> pager: skip uisetup if chg is detected
>
> chg has its own pager implementation that it wants to skip pager's uisetup.
> It is currently done by redirecting stdout to /dev/null, which has unintended
> side effects.
I'd probably mention what the side effects are in the commit message, so 
if future users see issues with this code they can know what it was 
trying to fix.


More information about the Mercurial-devel mailing list