##// END OF EJS Templates
exchange: use command executor for getbundle...
Gregory Szorc -
r37666:8f3c6fb5 default
parent child Browse files
Show More
@@ -1648,7 +1648,12 b' def _pullbundle2(pullop):'
1648 kwargs['obsmarkers'] = True
1648 kwargs['obsmarkers'] = True
1649 pullop.stepsdone.add('obsmarkers')
1649 pullop.stepsdone.add('obsmarkers')
1650 _pullbundle2extraprepare(pullop, kwargs)
1650 _pullbundle2extraprepare(pullop, kwargs)
1651 bundle = pullop.remote.getbundle('pull', **pycompat.strkwargs(kwargs))
1651
1652 with pullop.remote.commandexecutor() as e:
1653 args = dict(kwargs)
1654 args['source'] = 'pull'
1655 bundle = e.callcommand('getbundle', args).result()
1656
1652 try:
1657 try:
1653 op = bundle2.bundleoperation(pullop.repo, pullop.gettransaction,
1658 op = bundle2.bundleoperation(pullop.repo, pullop.gettransaction,
1654 source='pull')
1659 source='pull')
General Comments 0
You need to be logged in to leave comments. Login now