/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/plugins/weave_fmt/workingtree.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:
111
111
                          _controldir=a_controldir,
112
112
                          _control_files=branch.control_files)
113
113
        basis_tree = branch.repository.revision_tree(revision_id)
114
 
        if basis_tree.get_root_id() is not None:
115
 
            wt.set_root_id(basis_tree.get_root_id())
 
114
        if basis_tree.path2id('') is not None:
 
115
            wt.set_root_id(basis_tree.path2id(''))
116
116
        # set the parent list and cache the basis tree.
117
117
        if _mod_revision.is_null(revision_id):
118
118
            parent_trees = []