Mercurial > hg-stable
changeset 36837:4eb3bf227ce7
py3: make test-bisect.t bytes-safe
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 06 Mar 2018 07:11:24 -0600 |
parents | 80da79b6fbe4 |
children | 71f189941791 |
files | contrib/python3-whitelist tests/test-bisect.t |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/python3-whitelist Tue Mar 06 07:10:50 2018 -0600 +++ b/contrib/python3-whitelist Tue Mar 06 07:11:24 2018 -0600 @@ -16,6 +16,7 @@ test-backwards-remove.t test-basic.t test-bheads.t +test-bisect.t test-bisect2.t test-blackbox.t test-bookmarks-current.t
--- a/tests/test-bisect.t Tue Mar 06 07:10:50 2018 -0600 +++ b/tests/test-bisect.t Tue Mar 06 07:11:24 2018 -0600 @@ -465,8 +465,8 @@ > from __future__ import absolute_import > import sys > from mercurial import hg, ui as uimod - > repo = hg.repository(uimod.ui.load(), '.') - > if repo['.'].rev() < 6: + > repo = hg.repository(uimod.ui.load(), b'.') + > if repo[b'.'].rev() < 6: > sys.exit(1) > EOF $ chmod +x script.py