equal
deleted
inserted
replaced
157 if url_scheme in hg.peer_schemes: |
157 if url_scheme in hg.peer_schemes: |
158 hg.peer_schemes[scheme] = ShortRepository(url, scheme, t) |
158 hg.peer_schemes[scheme] = ShortRepository(url, scheme, t) |
159 else: |
159 else: |
160 hg.repo_schemes[scheme] = ShortRepository(url, scheme, t) |
160 hg.repo_schemes[scheme] = ShortRepository(url, scheme, t) |
161 |
161 |
162 extensions.wrapfunction(urlutil, b'hasdriveletter', hasdriveletter) |
162 extensions.wrapfunction(urlutil, 'hasdriveletter', hasdriveletter) |
163 |
163 |
164 |
164 |
165 @command(b'debugexpandscheme', norepo=True) |
165 @command(b'debugexpandscheme', norepo=True) |
166 def expandscheme(ui, url, **opts): |
166 def expandscheme(ui, url, **opts): |
167 """given a repo path, provide the scheme-expanded path""" |
167 """given a repo path, provide the scheme-expanded path""" |