equal
deleted
inserted
replaced
426 |
426 |
427 with repo.transaction(b'clone'): |
427 with repo.transaction(b'clone'): |
428 with repo.svfs.backgroundclosing(repo.ui, expectedcount=filecount): |
428 with repo.svfs.backgroundclosing(repo.ui, expectedcount=filecount): |
429 for i in range(filecount): |
429 for i in range(filecount): |
430 # XXX doesn't support '\n' or '\r' in filenames |
430 # XXX doesn't support '\n' or '\r' in filenames |
431 if util.safehasattr(fp, 'readline'): |
431 if hasattr(fp, 'readline'): |
432 l = fp.readline() |
432 l = fp.readline() |
433 else: |
433 else: |
434 # inline clonebundles use a chunkbuffer, so no readline |
434 # inline clonebundles use a chunkbuffer, so no readline |
435 # --> this should be small anyway, the first line |
435 # --> this should be small anyway, the first line |
436 # only contains the size of the bundle |
436 # only contains the size of the bundle |