##// END OF EJS Templates
narrow: use `update_file` instead of `normallookup` after update...
marmoute -
r48539:6a06155d default
parent child Browse files
Show More
@@ -351,6 +351,6 b' def updateworkingcopy(repo, assumeclean='
351 addedmatch = matchmod.intersectmatchers(addedmatch, sparse.matcher(repo))
351 addedmatch = matchmod.intersectmatchers(addedmatch, sparse.matcher(repo))
352 newfiles = [f for f in pctx.manifest().walk(addedmatch) if f not in ds]
352 newfiles = [f for f in pctx.manifest().walk(addedmatch) if f not in ds]
353 for f in newfiles:
353 for f in newfiles:
354 ds.normallookup(f)
354 ds.update_file(f, p1_tracked=True, wc_tracked=True, possibly_dirty=True)
355 _writeaddedfiles(repo, pctx, newfiles)
355 _writeaddedfiles(repo, pctx, newfiles)
356 repo._updatingnarrowspec = False
356 repo._updatingnarrowspec = False
General Comments 0
You need to be logged in to leave comments. Login now