purge: restore the `testedwith` declaration
authorMatt Harbison <matt_harbison@yahoo.com>
Tue, 22 Jun 2021 13:18:29 -0400
changeset 47462 75d4e60c7c81
parent 47461 69910b3686fa
child 47463 5fa083a5ff04
purge: restore the `testedwith` declaration Otherwise, this extension gets highlighted as a 3rd party extension when an exception occurs. Differential Revision: https://phab.mercurial-scm.org/D10895
hgext/purge.py
--- a/hgext/purge.py	Mon Jun 21 17:29:22 2021 +0200
+++ b/hgext/purge.py	Tue Jun 22 13:18:29 2021 -0400
@@ -30,3 +30,9 @@
 
 # This empty extension looks pointless, but core mercurial checks if it's loaded
 # to implement the slightly different behavior documented above.
+
+# Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
+testedwith = b'ships-with-hg-core'