~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_fetch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-02-13 11:48:14 UTC
  • mfrom: (2241.1.20 repoformats)
  • Revision ID: pqm@pqm.ubuntu.com-20070213114814-9606106906ac312f
(mbp) split repository formats into repofmt (r=john)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
from bzrlib.bzrdir import BzrDir
24
24
from bzrlib.builtins import merge
25
25
import bzrlib.errors
 
26
from bzrlib.repofmt import knitrepo
26
27
from bzrlib.tests import TestCaseWithTransport
27
28
from bzrlib.tests.HTTPTestUtil import TestCaseWithWebserver
28
29
from bzrlib.tests.test_revision import make_branches
123
124
        corresponding filename, parent, contents or other changes.
124
125
        """
125
126
        knit1_format = bzrdir.BzrDirMetaFormat1()
126
 
        knit1_format.repository_format = repository.RepositoryFormatKnit1()
 
127
        knit1_format.repository_format = knitrepo.RepositoryFormatKnit1()
127
128
        knit2_format = bzrdir.BzrDirMetaFormat1()
128
 
        knit2_format.repository_format = repository.RepositoryFormatKnit2()
 
129
        knit2_format.repository_format = knitrepo.RepositoryFormatKnit2()
129
130
        # we start with a knit1 repository because that causes the
130
131
        # root revision to change for each commit, even though the content,
131
132
        # parent, name, and other attributes are unchanged.