Show More
@@ -330,11 +330,12 b' class cg1unpacker(object):' | |||||
330 |
|
330 | |||
331 | needfiles = {} |
|
331 | needfiles = {} | |
332 | if repo.ui.configbool('server', 'validate', default=False): |
|
332 | if repo.ui.configbool('server', 'validate', default=False): | |
|
333 | cl = repo.changelog | |||
|
334 | ml = repo.manifestlog | |||
333 | # validate incoming csets have their manifests |
|
335 | # validate incoming csets have their manifests | |
334 | for cset in xrange(clstart, clend): |
|
336 | for cset in xrange(clstart, clend): | |
335 |
mfnode = |
|
337 | mfnode = cl.read(cl.node(cset))[0] | |
336 | repo.changelog.node(cset))[0] |
|
338 | mfest = ml[mfnode].readdelta() | |
337 | mfest = repo.manifestlog[mfnode].readdelta() |
|
|||
338 | # store file nodes we must see |
|
339 | # store file nodes we must see | |
339 | for f, n in mfest.iteritems(): |
|
340 | for f, n in mfest.iteritems(): | |
340 | needfiles.setdefault(f, set()).add(n) |
|
341 | needfiles.setdefault(f, set()).add(n) |
General Comments 0
You need to be logged in to leave comments.
Login now