# HG changeset patch # User Martin von Zweigbergk # Date 1497633224 25200 # Node ID 0a41902879d3235d3e2124618e486a697d5b6a3e # Parent 0d98b11b8467e8e672e1642edeab7db552b7881e strip: remove a redundant setting of hookargs bundle2.applybundle() will set both 'source' and 'url'. diff -r 0d98b11b8467 -r 0a41902879d3 mercurial/repair.py --- 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: