~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Jelmer Vernooij
  • Date: 2011-11-27 17:50:41 UTC
  • mto: This revision was merged to the branch mainline in revision 6311.
  • Revision ID: jelmer@samba.org-20111127175041-ios1h7ky0xqu39r0
Avoid .control_transport, as it triggers _ensure_real.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1352
1352
                                            source_branch=br_from)
1353
1353
                branch = to_dir.open_branch(
1354
1354
                    possible_transports=[
1355
 
                        br_from.control_transport, to_transport])
 
1355
                        br_from.bzrdir.root_transport, to_transport])
1356
1356
            except errors.NoSuchRevision:
1357
1357
                to_transport.delete_tree('.')
1358
1358
                msg = gettext("The branch {0} has no revision {1}.").format(