diff mercurial/dirstate.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 7d2f71b7bc31
children cbda631c1dde
line wrap: on
line diff