mercurial/commands.py
changeset 667 31a9aa890016
parent 654 fafc16f705b6
child 668 d93f0b127b6a
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -897,7 +897,7 @@ def serve(ui, repo, **opts):
                     if not d: break
                     fout.write(d)
 
-                out.flush()
+                fout.flush()
 
             elif cmd == "addchangegroup":
                 if not lock: