##// END OF EJS Templates
index: use `index.get_rev` in `unionrepo.unionrevlog`...
marmoute -
r43872:10f53873 default draft
parent child Browse files
Show More
@@ -62,9 +62,10 b' class unionrevlog(revlog.revlog):'
62 if linkmapper is not None: # link is to same revlog
62 if linkmapper is not None: # link is to same revlog
63 base = linkmapper(base)
63 base = linkmapper(base)
64
64
65 if node in self.nodemap:
65 this_rev = self.index.get_rev(node)
66 if this_rev is not None:
66 # this happens for the common revlog revisions
67 # this happens for the common revlog revisions
67 self.bundlerevs.add(self.nodemap[node])
68 self.bundlerevs.add(this_rev)
68 continue
69 continue
69
70
70 p1node = self.revlog2.node(p1rev)
71 p1node = self.revlog2.node(p1rev)
General Comments 0
You need to be logged in to leave comments. Login now