Show More
@@ -338,9 +338,11 def _diverge(ui, b, path, localmarks): | |||
|
338 | 338 | break |
|
339 | 339 | # try to use an @pathalias suffix |
|
340 | 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 | 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 | 346 | if path == u: |
|
345 | 347 | n = '%s@%s' % (b, p) |
|
346 | 348 | return n |
General Comments 0
You need to be logged in to leave comments.
Login now