mercurial/commands.py
changeset 667 31a9aa890016
parent 654 fafc16f705b6
child 668 d93f0b127b6a
equal deleted inserted replaced
666:0100a43788ca 667:31a9aa890016
   895                 while 1:
   895                 while 1:
   896                     d = cg.read(4096)
   896                     d = cg.read(4096)
   897                     if not d: break
   897                     if not d: break
   898                     fout.write(d)
   898                     fout.write(d)
   899 
   899 
   900                 out.flush()
   900                 fout.flush()
   901 
   901 
   902             elif cmd == "addchangegroup":
   902             elif cmd == "addchangegroup":
   903                 if not lock:
   903                 if not lock:
   904                     respond("not locked")
   904                     respond("not locked")
   905                     continue
   905                     continue