Mercurial > hg-stable
changeset 16419:784606ae0029
changegroupsubset: renest inner loop
The mdata list should generally be shorter than changedfiles
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 13 Apr 2012 22:23:45 -0500 |
parents | e5750c6716eb |
children | 4df2d335b8f6 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Fri Apr 13 21:35:48 2012 -0500 +++ b/mercurial/localrepo.py Fri Apr 13 22:23:45 2012 -0500 @@ -1848,8 +1848,8 @@ 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],