Mercurial > hg
changeset 36638:159b04de5fb0
py3: make test-basic.t pass on Python 3
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 02 Mar 2018 22:38:09 -0500 |
parents | e8c361316803 |
children | 334da951a50b |
files | contrib/python3-whitelist tests/test-basic.t |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/python3-whitelist Fri Mar 02 22:35:20 2018 -0500 +++ b/contrib/python3-whitelist Fri Mar 02 22:38:09 2018 -0500 @@ -8,6 +8,7 @@ test-automv.t test-backout.t test-backwards-remove.t +test-basic.t test-bheads.t test-bisect2.t test-bookmarks-current.t
--- a/tests/test-basic.t Fri Mar 02 22:35:20 2018 -0500 +++ b/tests/test-basic.t Fri Mar 02 22:38:09 2018 -0500 @@ -59,7 +59,7 @@ $ cat <<EOF > update_to_rev0.py > from mercurial import ui, hg, commands > myui = ui.ui.load() - > repo = hg.repository(myui, path='.') + > repo = hg.repository(myui, path=b'.') > commands.update(myui, repo, rev=0) > EOF $ hg up null