equal
deleted
inserted
replaced
11 import os |
11 import os |
12 import stat |
12 import stat |
13 |
13 |
14 from mercurial.i18n import _ |
14 from mercurial.i18n import _ |
15 from mercurial import ( |
15 from mercurial import ( |
16 cmdutil, |
|
17 error, |
16 error, |
18 hg, |
17 hg, |
|
18 registrar, |
19 util, |
19 util, |
20 ) |
20 ) |
21 |
21 |
22 cmdtable = {} |
22 cmdtable = {} |
23 command = cmdutil.command(cmdtable) |
23 command = registrar.command(cmdtable) |
24 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for |
24 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for |
25 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
25 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
26 # be specifying the version(s) of Mercurial they are tested with, or |
26 # be specifying the version(s) of Mercurial they are tested with, or |
27 # leave the attribute unspecified. |
27 # leave the attribute unspecified. |
28 testedwith = 'ships-with-hg-core' |
28 testedwith = 'ships-with-hg-core' |