Mercurial > hg-stable
comparison mercurial/commands.py @ 667:31a9aa890016
A number of minor fixes to problems that pychecker found.
# HG changeset patch
# User mark.williamson@cl.cam.ac.uk
# Node ID 55d38977b7f2e73b8c1090179928ac96c8922b90
# Parent b3bba126b04ab2f24274a1bcf5a224c6317c8e0d
A number of minor fixes to problems that pychecker found.
author | mark.williamson@cl.cam.ac.uk |
---|---|
date | Sun, 10 Jul 2005 16:01:11 -0800 |
parents | fafc16f705b6 |
children | d93f0b127b6a |
comparison
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 |