add a comment about '\n' and '\r' and streaming clone
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 28 Nov 2006 19:11:46 +0100
changeset 3720 5cc99f4b5041
parent 3719 199dcb97a5b6
child 3721 98f2507c5551
add a comment about '\n' and '\r' and streaming clone
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Tue Nov 28 11:28:45 2006 +0100
+++ b/mercurial/localrepo.py	Tue Nov 28 19:11:46 2006 +0100
@@ -1841,6 +1841,7 @@
                        (total_files, util.bytecount(total_bytes)))
         start = time.time()
         for i in xrange(total_files):
+            # XXX doesn't support '\n' or '\r' in filenames
             l = fp.readline()
             try:
                 name, size = l.split('\0', 1)