D7734: narrow: move `testedwith` after module imports
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Fri Dec 27 17:01:11 EST 2019
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
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
To: mharbison72, durin42, martinvonz, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list