Mercurial > hg > mercurial-source
changeset 33666: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 | 0d98b11b8467 |
children | 9d472b219fb0 |
files | mercurial/repair.py |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/repair.py +++ b/mercurial/repair.py @@ -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: