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

Fix tag handling when encountering packed refs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
288
288
        self.repository = branch.repository
289
289
 
290
290
    def get_tag_dict(self):
291
 
        return extract_tags(self.repository.get_refs(), self.branch.mapping)
 
291
        tags = {}
 
292
        for k, v in extract_tags(self.repository.get_refs()).iteritems():
 
293
            tags[k] = self.branch.mapping.revision_id_foreign_to_bzr(v)
 
294
        return tags
292
295
 
293
296
    def set_tag(self, name, revid):
294
297
        # FIXME: Not supported yet, should do a push of a new ref