/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/bzrdir_implementations/test_bzrdir.py

  • Committer: Aaron Bentley
  • Date: 2007-02-13 18:58:39 UTC
  • mfrom: (2283 +trunk)
  • mto: (2230.3.47 branch6)
  • mto: This revision was merged to the branch mainline in revision 2290.
  • Revision ID: abentley@panoramicfeedback.com-20070213185839-9cc540a30gtrgq1g
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005, 2006 Canonical Ltd
 
1
# Copyright (C) 2005, 2006, 2007 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
51
51
from bzrlib.trace import mutter
52
52
from bzrlib.transport import get_transport
53
53
from bzrlib.upgrade import upgrade
 
54
from bzrlib.repofmt import weaverepo
54
55
 
55
56
 
56
57
class TestCaseWithBzrDir(TestCaseWithTransport):
1139
1140
        self.assertTrue(isinstance(dir.get_repository_transport(None),
1140
1141
                                   transport.Transport))
1141
1142
        # with a given format, either the bzr dir supports identifiable
1142
 
        # repositoryes, or it supports anonymous  repository formats, but not both.
1143
 
        anonymous_format = repository.RepositoryFormat6()
1144
 
        identifiable_format = repository.RepositoryFormat7()
 
1143
        # repositories, or it supports anonymous  repository formats, but not both.
 
1144
        anonymous_format = weaverepo.RepositoryFormat6()
 
1145
        identifiable_format = weaverepo.RepositoryFormat7()
1145
1146
        try:
1146
1147
            found_transport = dir.get_repository_transport(anonymous_format)
1147
1148
            self.assertRaises(errors.IncompatibleFormat,