/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 breezy/git/tests/test_repository.py

  • Committer: Jelmer Vernooij
  • Date: 2019-06-29 13:16:26 UTC
  • mto: This revision was merged to the branch mainline in revision 7376.
  • Revision ID: jelmer@jelmer.uk-20190629131626-qioafloyemhdbm4w
Remove Tree.get_root_id() in favour of Tree.path2id('').

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
        repo = self.git_repo
191
191
        tree = repo.revision_tree(revision.NULL_REVISION)
192
192
        self.assertEqual(tree.get_revision_id(), revision.NULL_REVISION)
193
 
        self.assertIs(None, tree.get_root_id())
 
193
        self.assertIs(None, tree.path2id(''))
194
194
 
195
195
    def test_get_parent_map_null(self):
196
196
        self.assertEqual({revision.NULL_REVISION: ()},