Submitter | phabricator |
---|---|
Date | Feb. 18, 2018, 5:36 a.m. |
Message ID | <differential-rev-PHID-DREV-dup3v5qpmbcri7gcnykz-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/28045/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/bundle2.py b/mercurial/bundle2.py --- a/mercurial/bundle2.py +++ b/mercurial/bundle2.py @@ -2040,14 +2040,15 @@ allhooks.append(hookargs) for hookargs in allhooks: - op.repo.hook('prepushkey', throw=True, **hookargs) + op.repo.hook('prepushkey', throw=True, + **pycompat.strkwargs(hookargs)) bookstore.applychanges(op.repo, op.gettransaction(), changes) if pushkeycompat: def runhook(): for hookargs in allhooks: - op.repo.hook('pushkey', **hookargs) + op.repo.hook('pushkey', **pycompat.strkwargs(hookargs)) op.repo._afterlock(runhook) elif bookmarksmode == 'records':