mercurial/streamclone.py
changeset 52703 2e82bd50978c
parent 52702 ca17d31624ac
child 52909 3ee343dd3abf
equal deleted inserted replaced
52702:ca17d31624ac 52703:2e82bd50978c
  1113             # force @filecache properties to be reloaded from
  1113             # force @filecache properties to be reloaded from
  1114             # streamclone-ed file at next access
  1114             # streamclone-ed file at next access
  1115             repo.invalidate(clearfilecache=True)
  1115             repo.invalidate(clearfilecache=True)
  1116 
  1116 
  1117         progress.complete()
  1117         progress.complete()
       
  1118         # acknowledge the end of the bundle2 part, this help aligning
       
  1119         # sequential and parallel behavior.
       
  1120         remains = fp.read(1)
       
  1121         assert not remains
  1118         _report_transferred(repo, start, filecount, byte_count)
  1122         _report_transferred(repo, start, filecount, byte_count)
  1119 
  1123 
  1120 
  1124 
  1121 def consumev3(repo, fp) -> None:
  1125 def consumev3(repo, fp) -> None:
  1122     """Apply the contents from a version 3 streaming clone.
  1126     """Apply the contents from a version 3 streaming clone.