--- a/hgext3rd/pullbundle.py Tue Sep 25 19:35:33 2018 +0200
+++ b/hgext3rd/pullbundle.py Wed Sep 26 13:15:40 2018 +0200
@@ -359,9 +359,13 @@
old = changegroup._changegroupinfo
try:
changegroup._changegroupinfo = _changegroupinfo
- cgstream = changegroup.makestream(repo, outgoing, version, source,
- bundlecaps=bundlecaps,
- filematcher=filematcher)
+ if filematcher is not None:
+ cgstream = changegroup.makestream(repo, outgoing, version, source,
+ bundlecaps=bundlecaps,
+ filematcher=filematcher)
+ else:
+ cgstream = changegroup.makestream(repo, outgoing, version, source,
+ bundlecaps=bundlecaps)
finally:
changegroup._changegroupinfo = old