##// END OF EJS Templates
changegroup: don't reuse 'mfest' variable for different type...
Martin von Zweigbergk -
r24900:59d1bf41 default
parent child Browse files
Show More
@@ -789,8 +789,8 b' def addchangegroup(repo, source, srctype'
789 if repo.ui.configbool('server', 'validate', default=False):
789 if repo.ui.configbool('server', 'validate', default=False):
790 # validate incoming csets have their manifests
790 # validate incoming csets have their manifests
791 for cset in xrange(clstart, clend):
791 for cset in xrange(clstart, clend):
792 mfest = repo.changelog.read(repo.changelog.node(cset))[0]
792 mfnode = repo.changelog.read(repo.changelog.node(cset))[0]
793 mfest = repo.manifest.readdelta(mfest)
793 mfest = repo.manifest.readdelta(mfnode)
794 # store file nodes we must see
794 # store file nodes we must see
795 for f, n in mfest.iteritems():
795 for f, n in mfest.iteritems():
796 needfiles.setdefault(f, set()).add(n)
796 needfiles.setdefault(f, set()).add(n)
General Comments 0
You need to be logged in to leave comments. Login now