# HG changeset patch # User Matt Harbison # Date 1624382309 14400 # Node ID 75d4e60c7c815e5fad1ffb21749a9a066496c3a5 # Parent 69910b3686fa34f38ceb4160bba62d7263b275eb 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 diff -r 69910b3686fa -r 75d4e60c7c81 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'