Patchwork D9435: git: add the standard `testedwith` attribute

login
register
mail settings
Submitter phabricator
Date Nov. 28, 2020, 4:48 a.m.
Message ID <differential-rev-PHID-DREV-xzveteiwbdxhtacgh55v-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47711/
State Superseded
Headers show

Comments

phabricator - Nov. 28, 2020, 4:48 a.m.
mharbison72 created this revision.
Herald added a reviewer: durin42.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  Otherwise this shows up as an external extension.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9435

AFFECTED FILES
  hgext/git/__init__.py

CHANGE DETAILS




To: mharbison72, durin42, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/hgext/git/__init__.py b/hgext/git/__init__.py
--- a/hgext/git/__init__.py
+++ b/hgext/git/__init__.py
@@ -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