Comments
Patch
@@ -2196,20 +2196,21 @@ class localrepository(object):
If heads is None, use the local heads. If common is None, use [nullid].
The nodes in common might not all be known locally due to the way the
current discovery protocol works.
"""
- cl = self.changelog
+ ucl = self.unfiltered().changelog
if common:
- nm = cl.nodemap
+ nm = ucl.nodemap
common = [n for n in common if n in nm]
+
else:
common = [nullid]
if not heads:
- heads = cl.heads()
+ heads = self.changelog.heads()
return self.getlocalbundle(source,
- discovery.outgoing(cl, common, heads))
+ discovery.outgoing(ucl, common, heads))
@unfilteredmethod
def _changegroupsubset(self, commonrevs, csets, heads, source):
cl = self.changelog