equal
deleted
inserted
replaced
5 # This software may be used and distributed according to the terms of the |
5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2 or any later version. |
6 # GNU General Public License version 2 or any later version. |
7 |
7 |
8 '''import revisions from foreign VCS repositories into Mercurial''' |
8 '''import revisions from foreign VCS repositories into Mercurial''' |
9 |
9 |
10 import convcmd |
10 from __future__ import absolute_import |
11 import cvsps |
11 |
12 import subversion |
12 from mercurial import ( |
13 from mercurial import cmdutil, templatekw |
13 cmdutil, |
|
14 templatekw, |
|
15 ) |
14 from mercurial.i18n import _ |
16 from mercurial.i18n import _ |
|
17 |
|
18 from . import ( |
|
19 convcmd, |
|
20 cvsps, |
|
21 subversion, |
|
22 ) |
15 |
23 |
16 cmdtable = {} |
24 cmdtable = {} |
17 command = cmdutil.command(cmdtable) |
25 command = cmdutil.command(cmdtable) |
18 # Note for extension authors: ONLY specify testedwith = 'internal' for |
26 # Note for extension authors: ONLY specify testedwith = 'internal' for |
19 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
27 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |