~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-09-02 15:28:44 UTC
  • mfrom: (3650.5.9 push)
  • Revision ID: pqm@pqm.ubuntu.com-20080902152844-dext0kmx4m0u5szy
Clean up push, allowing default stacking policies (abentley)

Show diffs side-by-side

added added

removed removed

Lines of Context:
672
672
        revision_id: if not None, the revision history in the new branch will
673
673
                     be truncated to end with revision_id.
674
674
        """
675
 
        result = self._format.initialize(to_bzrdir)
 
675
        result = to_bzrdir.create_branch()
676
676
        self.copy_content_into(result, revision_id=revision_id)
677
677
        return  result
678
678