diff mercurial/destutil.py @ 34452:26c879bbf4ee

test-hook: make test compatible with chg The test uses the 'print' method instead of writing to stdout using 'ui.write' which leads to incompatibility with chg. This commit modifies the test to use 'ui' instead which fixes the problem. Test Plan: Ran the test 'test-hook.t' with and without '--chg' option. Differential Revision: https://phab.mercurial-scm.org/D927
author Saurabh Singh <singhsrb@fb.com>
date Tue, 03 Oct 2017 14:35:24 -0700
parents c5a07a3abe7d
children a72198790e15
line wrap: on
line diff