Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGc236a491ab7b: test-bookmarks-pushpull: add failing test of issue4700
rHG357bd3ecf1b2: test-bookmarks-pushpull: add failing test of issue4700
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
+ > def wrappedlookup(orig, repo, *args, kwargs):
+ > ret = orig(repo, *args, kwargs)
+ > repo.hook('lookup')
+ > return ret
+ > for table in [wireprotov1server.commands, wireprotov2server.COMMANDS]:
+ > table['lookup'].func = functools.partial(wrappedlookup, table['lookup'].func)
Nit: has to be b'lookup' to support Python 3. Can be fixed in flight.