Skip to content
Snippets Groups Projects
Commit 0a41902879d3 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

strip: remove a redundant setting of hookargs

bundle2.applybundle() will set both 'source' and 'url'.
parent 0d98b11b8467
No related branches found
No related tags found
No related merge requests found
......@@ -204,8 +204,6 @@
repo.ui.pushbuffer()
if isinstance(gen, bundle2.unbundle20):
with repo.transaction('strip') as tr:
tr.hookargs = {'source': 'strip',
'url': 'bundle:' + vfs.join(tmpbundlefile)}
bundle2.applybundle(repo, gen, tr, source='strip',
url='bundle:' + vfs.join(tmpbundlefile))
else:
......
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