Patchwork D7734: narrow: move `testedwith` after module imports

login
register
mail settings
Submitter phabricator
Date Dec. 27, 2019, 10:01 p.m.
Message ID <5659fb9369c29c4af069c5e27f94316f@localhost.localdomain>
Download mbox | patch
Permalink /patch/44078/
State Not Applicable
Headers show

Comments

phabricator - Dec. 27, 2019, 10:01 p.m.
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

Patch

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