~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: 2010-10-12 10:43:30 UTC
  • mfrom: (5487.1.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20101012104330-tsonnndvloj18v4q
(vila) Add a --no-tree option for init and push (Matthew Gordon)

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,