Mercurial > hg
comparison hgext/clonebundles.py @ 29841:d5883fd055c6
extensions: change magic "shipped with hg" string
I've caught multiple extensions in the wild lying about being
'internal', so it's time to move the goalposts on people. Goalpost
moving will continue until third party extensions stop trying to
defeat the system.
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 23 Aug 2016 11:26:08 -0400 |
parents | 7fa139eaebb4 |
children | 16d8bec0177d |
comparison
equal
deleted
inserted
replaced
29840:4435d4c951ec | 29841:d5883fd055c6 |
---|---|
167 from mercurial import ( | 167 from mercurial import ( |
168 extensions, | 168 extensions, |
169 wireproto, | 169 wireproto, |
170 ) | 170 ) |
171 | 171 |
172 testedwith = 'internal' | 172 testedwith = 'ships-with-hg-core' |
173 | 173 |
174 def capabilities(orig, repo, proto): | 174 def capabilities(orig, repo, proto): |
175 caps = orig(repo, proto) | 175 caps = orig(repo, proto) |
176 | 176 |
177 # Only advertise if a manifest exists. This does add some I/O to requests. | 177 # Only advertise if a manifest exists. This does add some I/O to requests. |