diff mercurial/debugcommands.py @ 41555:ba7eaff26474

check-py3-compat: manually format and print warnings The warnings mechanism may print to stderr on Python 3. Independent buffering of stdout and stderr can lead to warnings output not being printed properly. This commit traps warnings when executing individual files and prints warnings to stdout so output is deterministic. Differential Revision: https://phab.mercurial-scm.org/D5845
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 04 Feb 2019 14:38:23 -0800
parents 7dc160a57025
children be8741d42836
line wrap: on
line diff