~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1233
1233
        return result
1234
1234
 
1235
1235
    def push_branch(self, source, revision_id=None, overwrite=False, 
1236
 
        remember=False):
 
1236
        remember=False, create_prefix=False):
1237
1237
        """Push the source branch into this BzrDir."""
1238
1238
        br_to = None
1239
1239
        # If we can open a branch, use its direct repository, otherwise see
3269
3269
        else:
3270
3270
            remote_repo = None
3271
3271
            policy = None
 
3272
        bzrdir._format.set_branch_format(self.get_branch_format())
3272
3273
        if require_stacking:
3273
3274
            # The repo has already been created, but we need to make sure that
3274
3275
            # we'll make a stackable branch.