Show More
@@ -27,7 +27,10 b' from . import (' | |||||
27 | templateutil, |
|
27 | templateutil, | |
28 | util, |
|
28 | util, | |
29 | ) |
|
29 | ) | |
30 |
from .utils import |
|
30 | from .utils import ( | |
|
31 | stringutil, | |||
|
32 | urlutil, | |||
|
33 | ) | |||
31 |
|
34 | |||
32 | _hybrid = templateutil.hybrid |
|
35 | _hybrid = templateutil.hybrid | |
33 | hybriddict = templateutil.hybriddict |
|
36 | hybriddict = templateutil.hybriddict | |
@@ -660,9 +663,8 b' def showpeerurls(context, mapping):' | |||||
660 | repo = context.resource(mapping, b'repo') |
|
663 | repo = context.resource(mapping, b'repo') | |
661 | # see commands.paths() for naming of dictionary keys |
|
664 | # see commands.paths() for naming of dictionary keys | |
662 | paths = repo.ui.paths |
|
665 | paths = repo.ui.paths | |
663 | urls = util.sortdict( |
|
666 | all_paths = urlutil.list_paths(repo.ui) | |
664 |
|
|
667 | urls = util.sortdict((k, p.rawloc) for k, p in all_paths) | |
665 | ) |
|
|||
666 |
|
668 | |||
667 | def makemap(k): |
|
669 | def makemap(k): | |
668 | p = paths[k] |
|
670 | p = paths[k] |
General Comments 0
You need to be logged in to leave comments.
Login now