changeset 45949:a001e28ad5eb

git: add the standard `testedwith` attribute Otherwise this shows up as an external extension. Differential Revision: https://phab.mercurial-scm.org/D9435
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 27 Nov 2020 15:17:42 -0500
parents 250e18437e30
children c7c1efdfd4de
files hgext/git/__init__.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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