diff mercurial/dispatch.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 61a4cdc98307
children 318e2b600b80
line wrap: on
line diff
--- a/mercurial/dispatch.py	Thu Aug 25 01:00:26 2016 -0400
+++ b/mercurial/dispatch.py	Tue Aug 23 11:26:08 2016 -0400
@@ -927,7 +927,7 @@
                 break
 
             # Never blame on extensions bundled with Mercurial.
-            if testedwith == 'internal':
+            if testedwith == 'ships-with-hg-core':
                 continue
 
             tested = [util.versiontuple(t, 2) for t in testedwith.split()]