Show More
@@ -14,7 +14,6 b' from mercurial import (' | |||||
14 | error, |
|
14 | error, | |
15 | extensions, |
|
15 | extensions, | |
16 | hg, |
|
16 | hg, | |
17 | localrepo, |
|
|||
18 | util, |
|
17 | util, | |
19 | wireprotov1peer, |
|
18 | wireprotov1peer, | |
20 | wireprotov1server, |
|
19 | wireprotov1server, | |
@@ -221,7 +220,7 b' def localreposetup(ui, repo):' | |||||
221 |
|
220 | |||
222 | def clientreposetup(ui, repo): |
|
221 | def clientreposetup(ui, repo): | |
223 | _registerwireprotocommand() |
|
222 | _registerwireprotocommand() | |
224 | if isinstance(repo, localrepo.localrepository): |
|
223 | if repo.local(): | |
225 | localreposetup(ui, repo) |
|
224 | localreposetup(ui, repo) | |
226 | # TODO: this mutates global state, but only if at least one repo |
|
225 | # TODO: this mutates global state, but only if at least one repo | |
227 | # has the extension enabled. This is probably bad for hgweb. |
|
226 | # has the extension enabled. This is probably bad for hgweb. |
General Comments 0
You need to be logged in to leave comments.
Login now