diff mercurial/repair.py @ 32883:0a41902879d3

strip: remove a redundant setting of hookargs bundle2.applybundle() will set both 'source' and 'url'.
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 16 Jun 2017 10:13:44 -0700
parents 71eb6a098315
children eb84b4ad41e5
line wrap: on
line diff
--- a/mercurial/repair.py	Fri Jun 16 10:38:14 2017 -0700
+++ b/mercurial/repair.py	Fri Jun 16 10:13:44 2017 -0700
@@ -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: