mercurial/streamclone.py
changeset 29917 f32f8bf5dc4c
parent 28532 ed75909c4c67
child 29919 519a02267f90
--- a/mercurial/streamclone.py	Sat Sep 10 01:42:05 2016 +0200
+++ b/mercurial/streamclone.py	Mon Sep 12 03:06:28 2016 +0900
@@ -323,7 +323,7 @@
                             ofp.write(chunk)
 
         # Writing straight to files circumvented the inmemory caches
-        repo.invalidate()
+        repo.invalidate(clearfilecache=True)
 
         elapsed = time.time() - start
         if elapsed <= 0: