# HG changeset patch # User Denis Laxalde # Date 2019-10-10 14:02:47 # Node ID a5b04863dbff8c9a0966ee47c8a27675bdcdf2b8 # Parent 227ba1afcb657e936502303a490a6805c273c051 py3: drop ui.flush() during interactive patch filtering With previous changeset fixing line buffering on stdout, this is no longer needed. diff --git a/mercurial/patch.py b/mercurial/patch.py --- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -1182,7 +1182,6 @@ def filterpatch(ui, headers, match, oper if skipfile is not None: return skipfile, skipfile, skipall, newpatches while True: - ui.flush() resps = messages[b'help'][operation] # IMPORTANT: keep the last line of this prompt short (<40 english # chars is a good target) because of issue6158.