diff -r f7d3915d5b3a -r 684a6a261f30 mercurial/bundle2.py --- a/mercurial/bundle2.py Sat Mar 31 14:51:34 2018 +0530 +++ b/mercurial/bundle2.py Sat Mar 31 14:54:12 2018 +0530 @@ -342,7 +342,7 @@ to be created""" raise TransactionUnavailable() -def applybundle(repo, unbundler, tr, source=None, url=None, **kwargs): +def applybundle(repo, unbundler, tr, source, url=None, **kwargs): # transform me into unbundler.apply() as soon as the freeze is lifted if isinstance(unbundler, unbundle20): tr.hookargs['bundle2'] = '1'