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 '''create clones which fetch history data for subset of files (EXPERIMENTAL)''' |
7 '''create clones which fetch history data for subset of files (EXPERIMENTAL)''' |
8 |
8 |
9 from __future__ import absolute_import |
9 from __future__ import absolute_import |
10 |
|
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 = b'ships-with-hg-core' |
|
16 |
10 |
17 from mercurial import ( |
11 from mercurial import ( |
18 localrepo, |
12 localrepo, |
19 registrar, |
13 registrar, |
20 ) |
14 ) |
26 narrowcommands, |
20 narrowcommands, |
27 narrowrepo, |
21 narrowrepo, |
28 narrowtemplates, |
22 narrowtemplates, |
29 narrowwirepeer, |
23 narrowwirepeer, |
30 ) |
24 ) |
|
25 |
|
26 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for |
|
27 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
|
28 # be specifying the version(s) of Mercurial they are tested with, or |
|
29 # leave the attribute unspecified. |
|
30 testedwith = b'ships-with-hg-core' |
31 |
31 |
32 configtable = {} |
32 configtable = {} |
33 configitem = registrar.configitem(configtable) |
33 configitem = registrar.configitem(configtable) |
34 # Narrowhg *has* support for serving ellipsis nodes (which are used at |
34 # Narrowhg *has* support for serving ellipsis nodes (which are used at |
35 # least by Google's internal server), but that support is pretty |
35 # least by Google's internal server), but that support is pretty |