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

Merge move interbranch fetch branch.b

Show diffs side-by-side

added added

removed removed

Lines of Context:
2016
2016
    def make_source_parent_tree(source, target):
2017
2017
        """Change the source tree into a parent of the target."""
2018
2018
        revid = source.commit('record tree')
2019
 
        target.branch.repository.fetch(source.branch.repository, revid)
 
2019
        target.branch.fetch(source.branch, revid)
2020
2020
        target.set_parent_ids([revid])
2021
2021
        return target.basis_tree(), target
2022
2022