~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

Merge more checkout changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
575
575
            mainline_parent_id = revision_id
576
576
        return BranchCheckResult(self)
577
577
 
578
 
    def create_checkout_convenience(self, to_location, revision_id=None,
579
 
                                    lightweight=False):
 
578
    def create_checkout(self, to_location, revision_id=None, 
 
579
                        lightweight=False):
580
580
        """Create a checkout of a branch.
581
581
        
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, othewise
 
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
587
587
        """