1
# groupcompress, a bzr plugin providing improved disk utilisation
2
# Copyright (C) 2008 Canonical Limited.
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License version 2 as published
6
# by the Free Software Foundation.
8
# This program is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
# GNU General Public License for more details.
13
# You should have received a copy of the GNU General Public License
14
# along with this program; if not, write to the Free Software
15
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
"""Tests for btree based repository operations."""
24
from bzrlib import index, tests
25
from bzrlib import errors as bzrerrors
27
from bzrlib.plugins import index2
28
from bzrlib.plugins.index2 import btree_index, errors, repofmt
29
from bzrlib.repository import Repository
30
from bzrlib.repofmt.knitrepo import (
31
RepositoryFormatKnit3,
33
from bzrlib.repofmt.pack_repo import (
34
RepositoryFormatKnitPack4,
36
from bzrlib.tests import (
37
TestCaseWithTransport,
39
from bzrlib.transport import get_transport