Mercurial > hg
changeset 36476:263368dc143f
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
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Wed, 28 Feb 2018 21:43:35 +0530 |
parents | 7b84b737352d |
children | 035b77bf01d2 |
files | tests/test-rebase-scenario-global.t |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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