/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/builtins.py

Extract a simple SmartClient class from RemoteTransport, and a hack to avoid VFS operations when probing for a bzrdir over a smart transport.

Show diffs side-by-side

added added

removed removed

Lines of Context:
593
593
 
594
594
        old_rh = []
595
595
        try:
596
 
            dir_to = bzrdir.BzrDir.open(location_url)
 
596
            dir_to = bzrdir.BzrDir.open_from_transport(to_transport)
597
597
            br_to = dir_to.open_branch()
598
598
        except errors.NotBranchError:
599
599
            # create a branch.