comparison contrib/chg/util.c @ 29344:bb3d5c20eaf6

chg: exec pager in child process Before this patch, chg uses the old pager behavior (pre 369741ef7253), which executes pager in the main process. The user will see the exit code of the pager, instead of the hg command. Like 369741ef7253, this patch fixes the behavior by executing the pager in the child process, and wait for it at the end of the main process.
author Jun Wu <quark@fb.com>
date Sat, 11 Jun 2016 20:25:49 +0100
parents f5764e177bbe
children b94db1780365
comparison
equal deleted inserted replaced
29343:e095b9e753f7 29344:bb3d5c20eaf6