##// END OF EJS Templates
streamclone: rename '_emit' to '_emit2' for clarity...
Boris Feld -
r35820:bbc07357 stable
parent child Browse files
Show More
@@ -484,7 +484,7 b' def _makemap(repo):'
484
484
485 return vfsmap
485 return vfsmap
486
486
487 def _emit(repo, entries, totalfilesize):
487 def _emit2(repo, entries, totalfilesize):
488 """actually emit the stream bundle"""
488 """actually emit the stream bundle"""
489 vfsmap = _makemap(repo)
489 vfsmap = _makemap(repo)
490 progress = repo.ui.progress
490 progress = repo.ui.progress
@@ -555,7 +555,7 b' def generatev2(repo):'
555 totalfilesize += repo.cachevfs.lstat(name).st_size
555 totalfilesize += repo.cachevfs.lstat(name).st_size
556 entries.append((_srccache, name, _filefull, None))
556 entries.append((_srccache, name, _filefull, None))
557
557
558 chunks = _emit(repo, entries, totalfilesize)
558 chunks = _emit2(repo, entries, totalfilesize)
559 first = next(chunks)
559 first = next(chunks)
560 assert first is None
560 assert first is None
561
561
General Comments 0
You need to be logged in to leave comments. Login now