diff contrib/check-py3-compat.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 778dc37ce683
children 01417ca7f2e2
line wrap: on
line diff