Show More
@@ -338,9 +338,11 def _diverge(ui, b, path, localmarks): | |||||
338 | break |
|
338 | break | |
339 | # try to use an @pathalias suffix |
|
339 | # try to use an @pathalias suffix | |
340 | # if an @pathalias already exists, we overwrite (update) it |
|
340 | # if an @pathalias already exists, we overwrite (update) it | |
341 | path = str(util.url(path)) |
|
341 | if path.startswith("file:"): | |
|
342 | path = util.url(path).path | |||
342 | for p, u in ui.configitems("paths"): |
|
343 | for p, u in ui.configitems("paths"): | |
343 | u = str(util.url(path)) |
|
344 | if u.startswith("file:"): | |
|
345 | u = util.url(u).path | |||
344 | if path == u: |
|
346 | if path == u: | |
345 | n = '%s@%s' % (b, p) |
|
347 | n = '%s@%s' % (b, p) | |
346 | return n |
|
348 | return n |
General Comments 0
You need to be logged in to leave comments.
Login now