From patchwork Fri Dec 27 22:01:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D7734: narrow: move `testedwith` after module imports From: phabricator X-Patchwork-Id: 44078 Message-Id: <5659fb9369c29c4af069c5e27f94316f@localhost.localdomain> To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Fri, 27 Dec 2019 22:01:11 +0000 Closed by commit rHGf91834ecfdfd: narrow: move `testedwith` after module imports (authored by mharbison72). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D7734?vs=18950&id=18965 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7734/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7734 AFFECTED FILES hgext/narrow/__init__.py CHANGE DETAILS To: mharbison72, durin42, martinvonz, #hg-reviewers Cc: mercurial-devel diff --git a/hgext/narrow/__init__.py b/hgext/narrow/__init__.py --- a/hgext/narrow/__init__.py +++ b/hgext/narrow/__init__.py @@ -8,12 +8,6 @@ from __future__ import absolute_import -# 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' - from mercurial import ( localrepo, registrar, @@ -29,6 +23,12 @@ narrowwirepeer, ) +# 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) # Narrowhg *has* support for serving ellipsis nodes (which are used at