1 """ |
1 # bundlerepo.py - repository class for viewing uncompressed bundles |
2 bundlerepo.py - repository class for viewing uncompressed bundles |
2 # |
3 |
3 # This provides a read-only repository interface to bundles as if |
4 This provides a read-only repository interface to bundles as if |
4 # they were part of the actual repository. |
5 they were part of the actual repository. |
5 # |
6 |
6 # Copyright 2006, 2007 Benoit Boissinot <bboissin@gmail.com> |
7 Copyright 2006, 2007 Benoit Boissinot <bboissin@gmail.com> |
7 # |
8 |
8 # This software may be used and distributed according to the terms of the |
9 This software may be used and distributed according to the terms of the |
9 # GNU General Public License version 2, incorporated herein by reference. |
10 GNU General Public License version 2, incorporated herein by reference. |
|
11 """ |
|
12 |
10 |
13 from node import nullid |
11 from node import nullid |
14 from i18n import _ |
12 from i18n import _ |
15 import changegroup, util, os, struct, bz2, zlib, tempfile, shutil, mdiff |
13 import changegroup, util, os, struct, bz2, zlib, tempfile, shutil, mdiff |
16 import localrepo, changelog, manifest, filelog, revlog, error |
14 import localrepo, changelog, manifest, filelog, revlog, error |