Skip to content
Snippets Groups Projects
Commit 08b3c370 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

pullbundle: compat with Mercurial 4.7

parent b5cd2671
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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