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