diff -r 227ba1afcb65 -r a5b04863dbff mercurial/patch.py --- a/mercurial/patch.py Thu Oct 10 16:00:02 2019 +0200 +++ b/mercurial/patch.py Thu Oct 10 16:02:47 2019 +0200 @@ -1182,7 +1182,6 @@ 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.