/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 tag handling when encountering packed refs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        interrepo = InterRepository.get(source_repo, target_repo)
86
86
        mapping = source_repo.get_mapping()
87
87
        refs = interrepo.fetch_refs()
88
 
        tags = extract_tags(refs, mapping)
 
88
        tags = {}
 
89
        for k, v in extract_tags(refs).iteritems():
 
90
            tags[k] = mapping.revision_id_foreign_to_bzr(v)
89
91
        pb = ui.ui_factory.nested_progress_bar()
90
92
        try:
91
93
            for i, (name, ref) in enumerate(refs.iteritems()):