~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

Unbreak bzr push sftp:////

Show diffs side-by-side

added added

removed removed

Lines of Context:
504
504
                        if new_transport.base == transport.base:
505
505
                            raise BzrCommandError("Could not creeate "
506
506
                                                  "path prefix.")
507
 
            if isinstance(transport, LocalTransport):
508
 
                br_to = WorkingTree.create_standalone(location).branch
509
 
            else:
510
 
                br_to = Branch.create(location)
 
507
            br_to = bzrlib.bzrdir.BzrDir.create_branch_convenience(location)
511
508
        old_rh = br_to.revision_history()
512
509
        try:
513
510
            try: