py3: drop ui.flush() during interactive patch filtering
authorDenis Laxalde <denis.laxalde@logilab.fr>
Thu, 10 Oct 2019 16:02:47 +0200
changeset 43166 a5b04863dbff
parent 43165 227ba1afcb65
child 43167 bca9d1a6c4c5
py3: drop ui.flush() during interactive patch filtering With previous changeset fixing line buffering on stdout, this is no longer needed.
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.