Show More
@@ -135,7 +135,7 schemes = { | |||
|
135 | 135 | } |
|
136 | 136 | |
|
137 | 137 | |
|
138 | def _check_drive_letter(scheme): | |
|
138 | def _check_drive_letter(scheme: bytes) -> None: | |
|
139 | 139 | """check if a scheme conflict with a Windows drive letter""" |
|
140 | 140 | if ( |
|
141 | 141 | pycompat.iswindows |
@@ -152,7 +152,7 def extsetup(ui): | |||
|
152 | 152 | schemes.update(dict(ui.configitems(b'schemes'))) |
|
153 | 153 | t = templater.engine(templater.parse) |
|
154 | 154 | for scheme, url in schemes.items(): |
|
155 |
_check_drive_letter(scheme |
|
|
155 | _check_drive_letter(scheme) | |
|
156 | 156 | url_scheme = urlutil.url(url).scheme |
|
157 | 157 | if url_scheme in hg.peer_schemes: |
|
158 | 158 | hg.peer_schemes[scheme] = ShortRepository(url, scheme, t) |
General Comments 0
You need to be logged in to leave comments.
Login now