/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/test_bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2011-02-10 15:13:32 UTC
  • mto: This revision was merged to the branch mainline in revision 5658.
  • Revision ID: jelmer@samba.org-20110210151332-5jcn9i8pm5etrmmo
Avoid using deprecated functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
            self.assertIs(bzrdir.format_registry.get('dirstate-with-subtree'),
173
173
                          bzrdir.format_registry.get('default'))
174
174
            self.assertIs(
175
 
                repository.RepositoryFormat.get_default_format().__class__,
 
175
                repository.format_registry.get_default().__class__,
176
176
                knitrepo.RepositoryFormatKnit3)
177
177
        finally:
178
178
            bzrdir.format_registry.set_default_repository(old_default)