Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/localrepo.py @ 2470:fe1689273f84
use demandload more.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Tue, 20 Jun 2006 23:58:21 -0700 |
parents | b77a2ef61b81 |
children | 6904e1ef8ad1 |
comparison
equal
deleted
inserted
replaced
2459:5c5277f03887 | 2470:fe1689273f84 |
---|---|
3 # Copyright 2005 Matt Mackall <mpm@selenic.com> | 3 # Copyright 2005 Matt Mackall <mpm@selenic.com> |
4 # | 4 # |
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 import os, util | |
9 import filelog, manifest, changelog, dirstate, repo | |
10 from node import * | 8 from node import * |
11 from i18n import gettext as _ | 9 from i18n import gettext as _ |
12 from demandload import * | 10 from demandload import * |
13 demandload(globals(), "appendfile changegroup") | 11 demandload(globals(), "appendfile changegroup") |
12 demandload(globals(), "changelog dirstate filelog manifest repo") | |
14 demandload(globals(), "re lock transaction tempfile stat mdiff errno ui") | 13 demandload(globals(), "re lock transaction tempfile stat mdiff errno ui") |
15 demandload(globals(), "revlog") | 14 demandload(globals(), "os revlog util") |
16 | 15 |
17 class localrepository(object): | 16 class localrepository(object): |
18 capabilities = () | 17 capabilities = () |
19 | 18 |
20 def __del__(self): | 19 def __del__(self): |