575
575
mainline_parent_id = revision_id
576
576
return BranchCheckResult(self)
578
def create_checkout_convenience(self, to_location, revision_id=None,
578
def create_checkout(self, to_location, revision_id=None,
580
580
"""Create a checkout of a branch.
582
582
:param to_location: The url to produce the checkout at
583
583
:param revision_id: The revision to check out
584
:param lightweight: If True, produce a lightweight checkout, otherwise,
585
585
produce a bound branch (heavyweight checkout)
586
586
:return: The tree of the created checkout