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

Remove overly optimistic optimization.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
                            shamap[ie.file_id] = pinvshamap.lookup_tree(
172
172
                                ie.file_id)
173
173
                        except NotImplementedError:
174
 
                            shamap[ie.file_id] = None
 
174
                            pass
175
175
                        else:
176
176
                            break
177
177
            else:
207
207
        obj = directory_to_tree(ie, 
208
208
                lambda ie: shamap[ie.file_id], unusual_modes)
209
209
        if obj is not None:
210
 
            if not ie.file_id in shamap:
211
 
                yield path, obj
 
210
            yield path, obj
212
211
            shamap[ie.file_id] = obj.id
213
212
 
214
213