Patchwork D10895: purge: restore the `testedwith` declaration

login
register
mail settings
Submitter phabricator
Date June 22, 2021, 5:25 p.m.
Message ID <differential-rev-PHID-DREV-au52ekbwtyby732kwpgj-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/49209/
State Superseded
Headers show

Comments

phabricator - June 22, 2021, 5:25 p.m.
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  Otherwise, this extension gets highlighted as a 3rd party extension when an
  exception occurs.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

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

AFFECTED FILES
  hgext/purge.py

CHANGE DETAILS




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

Patch

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