Show More
@@ -147,13 +147,13 b' repo_schemes = {' | |||
|
147 | 147 | b'bundle': bundlerepo, |
|
148 | 148 | b'union': unionrepo, |
|
149 | 149 | b'file': LocalFactory, |
|
150 | b'static-http': statichttprepo, | |
|
151 | 150 | } |
|
152 | 151 | |
|
153 | 152 | peer_schemes = { |
|
154 | 153 | b'http': httppeer, |
|
155 | 154 | b'https': httppeer, |
|
156 | 155 | b'ssh': sshpeer, |
|
156 | b'static-http': statichttprepo, | |
|
157 | 157 | } |
|
158 | 158 | |
|
159 | 159 |
@@ -262,4 +262,4 b' class statichttprepository(' | |||
|
262 | 262 | def instance(ui, path, create, intents=None, createopts=None): |
|
263 | 263 | if create: |
|
264 | 264 | raise error.Abort(_(b'cannot create new static-http repository')) |
|
265 | return statichttprepository(ui, path[7:]) | |
|
265 | return statichttprepository(ui, path[7:]).peer() |
General Comments 0
You need to be logged in to leave comments.
Login now