759
759
def create_checkout(self, to_location, revision_id=None,
761
761
"""Create a checkout of a branch.
763
763
:param to_location: The url to produce the checkout at
764
764
:param revision_id: The revision to check out
765
765
:param lightweight: If True, produce a lightweight checkout, otherwise,
766
766
produce a bound branch (heavyweight checkout)
767
771
:return: The tree of the created checkout
769
773
t = transport.get_transport(to_location)