/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Vincent Ladeuil
  • Date: 2008-09-11 19:36:38 UTC
  • mfrom: (3703 +trunk)
  • mto: (3705.1.1 trunk2)
  • mto: This revision was merged to the branch mainline in revision 3708.
  • Revision ID: v.ladeuil+lp@free.fr-20080911193638-wtjyc1kcmacc6t1f
merge bzr.dev

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