mercurial/bookmarks.py
changeset 22627 808df84fba83
parent 22364 5c153c69fdb2
child 22629 b3f74b405c20
--- a/mercurial/bookmarks.py	Thu Sep 25 17:53:27 2014 -0700
+++ b/mercurial/bookmarks.py	Fri Sep 26 11:31:15 2014 -0700
@@ -338,7 +338,9 @@
             break
     # try to use an @pathalias suffix
     # if an @pathalias already exists, we overwrite (update) it
+    path = str(util.url(path))
     for p, u in ui.configitems("paths"):
+        u = str(util.url(path))
         if path == u:
             n = '%s@%s' % (b, p)
     return n