comparison mercurial/urllibcompat.py @ 44989:7af5c1f5b3a0

util: flush stderr explicitly after using warnings.warn() Due to some unknown reasons, when using chg with python3, the warnings.warn() output is not flushed. Fixes test-devel-warnings.t on py3 with chg.
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 19 Jun 2020 20:42:14 +0530
parents 9f70512ae2cf
children 89a2afe31e82
comparison
equal deleted inserted replaced
44988:fa151f7af275 44989:7af5c1f5b3a0