Mercurial > hg
changeset 47462:75d4e60c7c81
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
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 22 Jun 2021 13:18:29 -0400 |
parents | 69910b3686fa |
children | 5fa083a5ff04 |
files | hgext/purge.py |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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'