~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

(jelmer) Fix the default target name in 'bzr branch' when there is no
 selected colocated branch. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1416
1416
            revision_id = br_from.last_revision()
1417
1417
        if to_location is None:
1418
1418
            to_location = getattr(br_from, "name", None)
1419
 
            if to_location is None:
 
1419
            if not to_location:
1420
1420
                to_location = urlutils.derive_to_location(from_location)
1421
1421
        to_transport = transport.get_transport(to_location)
1422
1422
        try: