Skip to content
Snippets Groups Projects
Commit 7a8c4484 authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

bundlerepo: properly handle hidden linkrev in manifestlog (issue4945)

The bundlerepository have to do some special magic to handle linkrev of the
bundled manifest. That logic was done from a repoview and obsolescence marker
affecting bundled changeset could lead to a crash. We now ensure we operate on
unfiltered repository.
parent 0209bdd5
No related branches found
No related tags found
No related merge requests found
......@@ -325,7 +325,8 @@
self.bundle.seek(self.manstart)
# consume the header if it exists
self.bundle.manifestheader()
m = bundlemanifest(self.svfs, self.bundle, self.changelog.rev)
linkmapper = self.unfiltered().changelog.rev
m = bundlemanifest(self.svfs, self.bundle, linkmapper)
# XXX: hack to work with changegroup3, but we still don't handle
# tree manifests correctly
if self.bundle.version == "03":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment