~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_fetch.py

  • Committer: Martin Pool
  • Date: 2007-02-06 08:16:13 UTC
  • mto: This revision was merged to the branch mainline in revision 2283.
  • Revision ID: mbp@sourcefrog.net-20070206081613-dxop566k13bll6j0
Move KnitFormat2 into repofmt

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
125
126
        knit1_format = bzrdir.BzrDirMetaFormat1()
126
127
        knit1_format.repository_format = repository.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.