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.