--- a/mercurial/ui.py Sun Mar 12 00:47:39 2017 -0500
+++ b/mercurial/ui.py Sun Mar 12 01:59:23 2017 -0500
@@ -1616,7 +1616,7 @@
self.name = name
self.rawloc = rawloc
- self.loc = str(u)
+ self.loc = '%s' % u
# When given a raw location but not a symbolic name, validate the
# location is valid.