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

Fix regression in git-import.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
 
81
81
        interrepo = InterRepository.get(source_repo, target_repo)
82
82
        mapping = source_repo.get_mapping()
83
 
        refs = interrepo.fetch_refs()
 
83
        refs = interrepo.fetch()
84
84
        tags = {}
85
85
        for k, v in extract_tags(refs).iteritems():
86
86
            tags[k] = mapping.revision_id_foreign_to_bzr(v)
97
97
                    parent_path = urlutils.dirname(head_loc)
98
98
                    if not os.path.isdir(parent_path):
99
99
                        os.makedirs(parent_path)
100
 
                    head_bzrdir = BzrDir.create(head_loc, format=format)
 
100
                    head_bzrdir = BzrDir.create(head_loc)
101
101
                try:
102
102
                    head_branch = head_bzrdir.open_branch()
103
103
                except NotBranchError: