5 # This software may be used and distributed according to the terms |
5 # This software may be used and distributed according to the terms |
6 # of the GNU General Public License, incorporated herein by reference. |
6 # of the GNU General Public License, incorporated herein by reference. |
7 |
7 |
8 from node import * |
8 from node import * |
9 from i18n import gettext as _ |
9 from i18n import gettext as _ |
10 from demandload import * |
10 import repo, appendfile, changegroup |
11 import repo |
11 import changelog, dirstate, filelog, manifest, context |
12 demandload(globals(), "appendfile changegroup") |
12 import re, lock, transaction, tempfile, stat, mdiff, errno, ui |
13 demandload(globals(), "changelog dirstate filelog manifest context") |
13 import os, revlog, time, util |
14 demandload(globals(), "re lock transaction tempfile stat mdiff errno ui") |
|
15 demandload(globals(), "os revlog time util") |
|
16 |
14 |
17 class localrepository(repo.repository): |
15 class localrepository(repo.repository): |
18 capabilities = ('lookup', 'changegroupsubset') |
16 capabilities = ('lookup', 'changegroupsubset') |
19 supported = ('revlogv1', 'store') |
17 supported = ('revlogv1', 'store') |
20 |
18 |