py3: add b'' prefixes in tests/test-rebase-scenario-global.t
# skip-blame because just b'' prefixes
Differential Revision: https://phab.mercurial-scm.org/D2500
--- 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 <<EOF