mercurial/ui.py
changeset 31350 2eee8ad77726
parent 31341 66f1c244b43a
child 31472 75e4bae56068
--- 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.