mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
changegroupsubset: renest inner loop
The mdata list should generally be shorter than changedfiles
This commit is contained in:
parent
4e0b41f193
commit
4a60e2504d
@ -1848,8 +1848,8 @@ class localrepository(repo.repository):
|
||||
elif revlog == mf:
|
||||
clnode = mfs[x]
|
||||
mdata = mf.readfast(x)
|
||||
for f in changedfiles:
|
||||
if f in mdata:
|
||||
for f in mdata:
|
||||
if f in changedfiles:
|
||||
fnodes.setdefault(f, {}).setdefault(mdata[f], clnode)
|
||||
count[0] += 1
|
||||
self.ui.progress(_('bundling'), count[0],
|
||||
|
Loading…
Reference in New Issue
Block a user