/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/repository_implementations/test_repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-09-04 14:22:34 UTC
  • mfrom: (3680.1.1 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20080904142234-pldim6ie032cb6am
(Jelmer) Deprecate Repository.revision_tree(None).

Show diffs side-by-side

added added

removed removed

Lines of Context:
335
335
        expected.revision = 'revision-1'
336
336
        self.assertEqual([('', 'V', 'directory', 'fixed-root', expected)],
337
337
                         list(tree.list_files(include_root=True)))
338
 
        tree = wt.branch.repository.revision_tree(None)
 
338
        tree = self.callDeprecated(['NULL_REVISION should be used for the null'
 
339
            ' revision instead of None, as of bzr 0.91.'],
 
340
            wt.branch.repository.revision_tree, None)
339
341
        self.assertEqual([], list(tree.list_files(include_root=True)))
340
342
        tree = wt.branch.repository.revision_tree(NULL_REVISION)
341
343
        self.assertEqual([], list(tree.list_files(include_root=True)))