# HG changeset patch
# User Yuya Nishihara <y...@tcha.org>
# Date 1520048289 18000
#      Fri Mar 02 22:38:09 2018 -0500
# Node ID 19279a4054f6d095ae6877f01ec0c117f1054b68
# Parent  93fda19cf79e6f5d40b27720a0d65cd862f3a9f9
py3: make test-basic.t pass on Python 3

diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist
--- a/contrib/python3-whitelist
+++ b/contrib/python3-whitelist
@@ -8,6 +8,7 @@ test-annotate.py
 test-automv.t
 test-backout.t
 test-backwards-remove.t
+test-basic.t
 test-bheads.t
 test-bisect2.t
 test-bookmarks-current.t
diff --git a/tests/test-basic.t b/tests/test-basic.t
--- a/tests/test-basic.t
+++ b/tests/test-basic.t
@@ -59,7 +59,7 @@ Verify that updating to revision 0 via c
   $ 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
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to