Show More
@@ -22,6 +22,7 b' from . import (' | |||||
22 | namespaces, |
|
22 | namespaces, | |
23 | pathutil, |
|
23 | pathutil, | |
24 | pycompat, |
|
24 | pycompat, | |
|
25 | requirements as requirementsmod, | |||
25 | url, |
|
26 | url, | |
26 | util, |
|
27 | util, | |
27 | vfs as vfsmod, |
|
28 | vfs as vfsmod, | |
@@ -197,6 +198,9 b' class statichttprepository(' | |||||
197 | # we do not care about empty old-style repositories here |
|
198 | # we do not care about empty old-style repositories here | |
198 | msg = _(b"'%s' does not appear to be an hg repository") % path |
|
199 | msg = _(b"'%s' does not appear to be an hg repository") % path | |
199 | raise error.RepoError(msg) |
|
200 | raise error.RepoError(msg) | |
|
201 | if requirementsmod.SHARESAFE_REQUIREMENT in requirements: | |||
|
202 | storevfs = vfsclass(self.vfs.join(b'store')) | |||
|
203 | requirements |= set(storevfs.read(b'requires').splitlines()) | |||
200 |
|
204 | |||
201 | supportedrequirements = localrepo.gathersupportedrequirements(ui) |
|
205 | supportedrequirements = localrepo.gathersupportedrequirements(ui) | |
202 | localrepo.ensurerequirementsrecognized( |
|
206 | localrepo.ensurerequirementsrecognized( |
General Comments 0
You need to be logged in to leave comments.
Login now