/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

Merge multiple 2a-as-default fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1147
1147
        revision_id: if not None, the revision history in the new branch will
1148
1148
                     be truncated to end with revision_id.
1149
1149
        """
 
1150
        if (repository_policy is not None and
 
1151
            repository_policy.requires_stacking()):
 
1152
            to_bzrdir._format.require_stacking(_skip_repo=True)
1150
1153
        result = to_bzrdir.create_branch()
1151
1154
        result.lock_write()
1152
1155
        try: