# HG changeset patch # User Yuya Nishihara # Date 1520196790 18000 # Node ID 8988c34bd01868223055c5455d67fd4d4f202f55 # Parent a22915edc279b1c1de1e2cd3eb327b31748a7ee7 py3: don't use str() to stringify pushloc diff -r a22915edc279 -r 8988c34bd018 contrib/python3-whitelist --- a/contrib/python3-whitelist Sun Mar 04 15:26:26 2018 -0500 +++ b/contrib/python3-whitelist Sun Mar 04 15:53:10 2018 -0500 @@ -69,6 +69,7 @@ test-debugextensions.t test-debugindexdot.t test-debugrename.t +test-default-push.t test-diff-binary-file.t test-diff-change.t test-diff-copy-depth.t diff -r a22915edc279 -r 8988c34bd018 mercurial/ui.py --- a/mercurial/ui.py Sun Mar 04 15:26:26 2018 -0500 +++ b/mercurial/ui.py Sun Mar 04 15:53:10 2018 -0500 @@ -1757,7 +1757,7 @@ 'ignoring)\n') % path.name) u.fragment = None - return str(u) + return bytes(u) @pathsuboption('pushrev', 'pushrev') def pushrevpathoption(ui, path, value):