##// END OF EJS Templates
add a comment about '\n' and '\r' and streaming clone
Benoit Boissinot -
r3720:5cc99f4b default
parent child Browse files
Show More
@@ -1841,6 +1841,7 b' class localrepository(repo.repository):'
1841 (total_files, util.bytecount(total_bytes)))
1841 (total_files, util.bytecount(total_bytes)))
1842 start = time.time()
1842 start = time.time()
1843 for i in xrange(total_files):
1843 for i in xrange(total_files):
1844 # XXX doesn't support '\n' or '\r' in filenames
1844 l = fp.readline()
1845 l = fp.readline()
1845 try:
1846 try:
1846 name, size = l.split('\0', 1)
1847 name, size = l.split('\0', 1)
General Comments 0
You need to be logged in to leave comments. Login now