Mercurial > hg
comparison tests/test-diff-ignore-whitespace.t @ 20542:be27652675ce
util: debugstacktrace, flush before and after writing
Close another stream (default stdout, which often is buffered) before writing
to the primary stream (default stderr, which often is unbuffered). The primary
stream is also flushed after writing (in case it is buffered).
This fixes non-deterministic output order, especially on windows.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 20 Feb 2014 02:38:36 +0100 |
parents | 405b6bd015df |
children | da07367d683b |
comparison
equal
deleted
inserted
replaced
20541:44dcca9be1d5 | 20542:be27652675ce |
---|