diff --git a/tests/test-rebase-scenario-global.t b/tests/test-rebase-scenario-global.t --- a/tests/test-rebase-scenario-global.t +++ b/tests/test-rebase-scenario-global.t @@ -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 <