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

Fix existing object lookup issues when pulling from remote branches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
            root_tree = self.object_store[foreign_revid].tree
56
56
            path = mapping.parse_file_id(fileid)
57
57
            try:
58
 
                obj = tree_lookup_path(self.object_store, root_tree, path)
 
58
                obj = tree_lookup_path(self.object_store.__getitem__, 
 
59
                                       root_tree, path)
59
60
            except KeyError:
60
61
                yield AbsentContentFactory(key)
61
62
            else: