Show More
@@ -8,16 +8,11 b'' | |||||
8 |
|
8 | |||
9 | from __future__ import absolute_import |
|
9 | from __future__ import absolute_import | |
10 |
|
10 | |||
11 | from mercurial import __version__ |
|
11 | # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for | |
12 | if __version__.version < '3.7': |
|
12 | # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should | |
13 | raise ImportError( |
|
13 | # be specifying the version(s) of Mercurial they are tested with, or | |
14 | 'narrowhg requires mercurial 3.7 or newer') |
|
14 | # leave the attribute unspecified. | |
15 |
|
15 | testedwith = 'ships-with-hg-core' | ||
16 | try: |
|
|||
17 | from .__versionnum__ import version |
|
|||
18 | __version__ = version |
|
|||
19 | except ImportError: |
|
|||
20 | pass |
|
|||
21 |
|
16 | |||
22 | from mercurial import ( |
|
17 | from mercurial import ( | |
23 | extensions, |
|
18 | extensions, |
General Comments 0
You need to be logged in to leave comments.
Login now