comparison 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
comparison
equal deleted inserted replaced
29840:4435d4c951ec 29841:d5883fd055c6
925 # We found an untested extension. It's likely the culprit. 925 # We found an untested extension. It's likely the culprit.
926 worst = name, 'unknown', report 926 worst = name, 'unknown', report
927 break 927 break
928 928
929 # Never blame on extensions bundled with Mercurial. 929 # Never blame on extensions bundled with Mercurial.
930 if testedwith == 'internal': 930 if testedwith == 'ships-with-hg-core':
931 continue 931 continue
932 932
933 tested = [util.versiontuple(t, 2) for t in testedwith.split()] 933 tested = [util.versiontuple(t, 2) for t in testedwith.split()]
934 if ct in tested: 934 if ct in tested:
935 continue 935 continue