/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/tests/per_tree/test_test_trees.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-07-26 00:52:04 UTC
  • mfrom: (7358.14.2 get-root-id)
  • Revision ID: breezy.the.bot@gmail.com-20190726005204-fapfcsnonmr0e3r3
Remove Tree.get_root_id() in favour of Tree.path2id('').

Merged from https://code.launchpad.net/~jelmer/brz/get-root-id/+merge/369477

Show diffs side-by-side

added added

removed removed

Lines of Context:
273
273
                    b'ba\xe2\x82\xacz-id',
274
274
                    ]
275
275
        self.build_tree(paths[1:])
276
 
        if tree.get_root_id() is None:
 
276
        if tree.path2id('') is None:
277
277
            # Some trees do not have a root yet.
278
278
            tree.add(paths, file_ids)
279
279
        else: