# HG changeset patch # User Benoit Boissinot # Date 1164737506 -3600 # Node ID 5cc99f4b5041c6e3a23b28ecbda19e05be6a5d82 # Parent 199dcb97a5b6ba000f4a6290a4c547c90cdc10d9 add a comment about '\n' and '\r' and streaming clone diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1841,6 +1841,7 @@ class localrepository(repo.repository): (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)