changeset 3720:5cc99f4b5041

add a comment about '\n' and '\r' and streaming clone
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 28 Nov 2006 19:11:46 +0100
parents 199dcb97a5b6
children 98f2507c5551
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)