D2500: py3: add b'' prefixes in tests/test-rebase-scenario-global.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Thu Mar 1 09:35:40 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG23fce34de96e: py3: add b'' prefixes in tests/test-rebase-scenario-global.t (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2500?vs=6200&id=6232
REVISION DETAIL
https://phab.mercurial-scm.org/D2500
AFFECTED FILES
tests/test-rebase-scenario-global.t
CHANGE DETAILS
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 <<EOF
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list