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')
2020
2020
target.set_parent_ids([revid])
2021
2021
return target.basis_tree(), target