git: add the standard `testedwith` attribute
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 27 Nov 2020 15:17:42 -0500
changeset 45964 a001e28ad5eb
parent 45963 250e18437e30
child 45965 c7c1efdfd4de
git: add the standard `testedwith` attribute Otherwise this shows up as an external extension. Differential Revision: https://phab.mercurial-scm.org/D9435
hgext/git/__init__.py
--- a/hgext/git/__init__.py	Fri Nov 27 15:00:39 2020 -0500
+++ b/hgext/git/__init__.py	Fri Nov 27 15:17:42 2020 -0500
@@ -29,6 +29,12 @@
     index,
 )
 
+# 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'
+
 configtable = {}
 configitem = registrar.configitem(configtable)
 # git.log-index-cache-miss: internal knob for testing