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

Various small changes in aid of making tests pass (including deleting one invalid test).

Show diffs side-by-side

added added

removed removed

Lines of Context:
654
654
        except errors.NoRepositoryPresent:
655
655
            pass
656
656
        else:
657
 
            result_format.repository_format = source_repository._format
 
657
            repo_format = source_repository._format
 
658
            if not isinstance(repo_format, remote.RemoteRepositoryFormat):
 
659
                result_format.repository_format = repo_format
658
660
        return result_format
659
661
 
660
662
    def sprout(self, url, revision_id=None, basis=None, force_new_repo=False):