--- a/mercurial/util.py Sun Sep 03 15:47:17 2017 +0900
+++ b/mercurial/util.py Sun Sep 03 14:56:31 2017 +0900
@@ -13,7 +13,7 @@
hide platform-specific details from the core.
"""
-from __future__ import absolute_import
+from __future__ import absolute_import, print_function
import abc
import bz2
@@ -2836,9 +2836,9 @@
'file:///tmp/foo/bar'
>>> bytes(url(b'file:///c:/tmp/foo/bar'))
'file:///c:/tmp/foo/bar'
- >>> print url(br'bundle:foo\bar')
+ >>> print(url(br'bundle:foo\bar'))
bundle:foo\bar
- >>> print url(br'file:///D:\data\hg')
+ >>> print(url(br'file:///D:\data\hg'))
file:///D:\data\hg
"""
if self._localpath: