Mercurial > public > mercurial-scm > hg
diff mercurial/extensions.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 | 19578bb84731 |
children | b1ebc767563d |
line wrap: on
line diff
--- a/mercurial/extensions.py Thu Aug 25 01:00:26 2016 -0400 +++ b/mercurial/extensions.py Tue Aug 23 11:26:08 2016 -0400 @@ -532,4 +532,4 @@ def ismoduleinternal(module): exttestedwith = getattr(module, 'testedwith', None) - return exttestedwith == "internal" + return exttestedwith == "ships-with-hg-core"