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

More complete inventory implementation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
253
253
        self.mapping = mapping
254
254
        self.index = index
255
255
        self._contents_read = False
 
256
        self.root = self.add_path("", 'directory', 
 
257
            self.mapping.generate_file_id(""), None)
 
258
 
 
259
    def iter_entries_by_dir(self, specific_file_ids=None, yield_parents=False):
 
260
        self._read_contents()
 
261
        return super(GitIndexInventory, self).iter_entries_by_dir(specific_file_ids=specific_file_ids, yield_parents=yield_parents)
256
262
 
257
263
    def has_id(self, file_id):
258
264
        try: