[PATCH 2 of 2] py3: flush ui after each message in interactive patch filtering

Pulkit Goyal 7895pulkit at gmail.com
Wed Oct 9 10:42:51 EDT 2019


On Wed, Oct 9, 2019 at 4:42 PM Denis Laxalde <denis at laxalde.org> wrote:
>
> # HG changeset patch
> # User Denis Laxalde <denis.laxalde at logilab.fr>
> # Date 1570627454 -7200
> #      Wed Oct 09 15:24:14 2019 +0200
> # Node ID 0cdeb24af4076eae433de3f63fda36da4e6fc0d0
> # Parent  99f06850be3ecc521ba461684686865c1191c5a0
> py3: flush ui after each message in interactive patch filtering
>
> Otherwise, actions from ui.write() are buffered and displayed at end of
> interactive session.

According to nbjoerg on IRC, it's better to flush before asking for
input instead of flushing after every write. Queued only 1.


More information about the Mercurial-devel mailing list