tests/test-chg.t
author Jun Wu <quark@fb.com>
Mon, 14 Mar 2016 15:03:19 +0000
changeset 28554 fa3438548b3d
parent 28516 3bf2892f685f
child 29088 983353035cec
permissions -rw-r--r--
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. This patch makes pager aware of chg and skip uisetup directly from pager. We may want to merge chg and pager's pager implementation to make this unnecessary in the future.

init repo

  $ hg init foo
  $ cd foo

ill-formed config

  $ hg status
  $ echo '=brokenconfig' >> $HGRCPATH
  $ hg status
  hg: parse error at * (glob)
  [255]