diff -r 7b84b737352d -r 263368dc143f tests/test-rebase-scenario-global.t --- a/tests/test-rebase-scenario-global.t Wed Feb 28 21:42:37 2018 +0530 +++ b/tests/test-rebase-scenario-global.t Wed Feb 28 21:43:35 2018 +0530 @@ -954,14 +954,14 @@ > def _rebase(orig, ui, repo, *args, **kwargs): > with repo.wlock(): > with repo.lock(): - > with repo.transaction('wrappedrebase'): + > with repo.transaction(b'wrappedrebase'): > return orig(ui, repo, *args, **kwargs) > def wraprebase(loaded): > assert loaded - > rebasemod = extensions.find('rebase') - > extensions.wrapcommand(rebasemod.cmdtable, 'rebase', _rebase) + > rebasemod = extensions.find(b'rebase') + > extensions.wrapcommand(rebasemod.cmdtable, b'rebase', _rebase) > def extsetup(ui): - > extensions.afterloaded('rebase', wraprebase) + > extensions.afterloaded(b'rebase', wraprebase) > EOF $ cat >> .hg/hgrc <