mercurial/changegroup.py
changeset 29938 a059b17352ef
parent 29808 8d226db31f20
child 30153 edb49a90723c
equal deleted inserted replaced
29937:2c302c654451 29938:a059b17352ef
   330                 if repo.ui.configbool('server', 'validate', default=False):
   330                 if repo.ui.configbool('server', 'validate', default=False):
   331                     # validate incoming csets have their manifests
   331                     # validate incoming csets have their manifests
   332                     for cset in xrange(clstart, clend):
   332                     for cset in xrange(clstart, clend):
   333                         mfnode = repo.changelog.read(
   333                         mfnode = repo.changelog.read(
   334                             repo.changelog.node(cset))[0]
   334                             repo.changelog.node(cset))[0]
   335                         mfest = repo.manifest.readdelta(mfnode)
   335                         mfest = repo.manifestlog[mfnode].readdelta()
   336                         # store file nodes we must see
   336                         # store file nodes we must see
   337                         for f, n in mfest.iteritems():
   337                         for f, n in mfest.iteritems():
   338                             needfiles.setdefault(f, set()).add(n)
   338                             needfiles.setdefault(f, set()).add(n)
   339 
   339 
   340                 # process the files
   340                 # process the files