~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Vincent Ladeuil
  • Date: 2010-10-13 08:01:36 UTC
  • mfrom: (5447.5.1 config-read)
  • mto: This revision was merged to the branch mainline in revision 5499.
  • Revision ID: v.ladeuil+lp@free.fr-20101013080136-7o5qbbwgxhgncsj8
Merge config-read into config-modify

Show diffs side-by-side

added added

removed removed

Lines of Context:
1372
1372
        return format
1373
1373
 
1374
1374
    def create_clone_on_transport(self, to_transport, revision_id=None,
1375
 
        stacked_on=None, create_prefix=False, use_existing_dir=False):
 
1375
        stacked_on=None, create_prefix=False, use_existing_dir=False,
 
1376
        no_tree=None):
1376
1377
        """Create a clone of this branch and its bzrdir.
1377
1378
 
1378
1379
        :param to_transport: The transport to clone onto.
1391
1392
            revision_id = self.last_revision()
1392
1393
        dir_to = self.bzrdir.clone_on_transport(to_transport,
1393
1394
            revision_id=revision_id, stacked_on=stacked_on,
1394
 
            create_prefix=create_prefix, use_existing_dir=use_existing_dir)
 
1395
            create_prefix=create_prefix, use_existing_dir=use_existing_dir,
 
1396
            no_tree=no_tree)
1395
1397
        return dir_to.open_branch()
1396
1398
 
1397
1399
    def create_checkout(self, to_location, revision_id=None,
1522
1524
     * an open routine.
1523
1525
 
1524
1526
    Formats are placed in an dict by their format string for reference
1525
 
    during branch opening. Its not required that these be instances, they
 
1527
    during branch opening. It's not required that these be instances, they
1526
1528
    can be classes themselves with class methods - it simply depends on
1527
1529
    whether state is needed for a given format or not.
1528
1530
 
3480
3482
                # push into the master from the source branch.
3481
3483
                self.source._basic_push(master_branch, overwrite, stop_revision)
3482
3484
                # and push into the target branch from the source. Note that we
3483
 
                # push from the source branch again, because its considered the
 
3485
                # push from the source branch again, because it's considered the
3484
3486
                # highest bandwidth repository.
3485
3487
                result = self.source._basic_push(self.target, overwrite,
3486
3488
                    stop_revision)