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

Don't claim control directories can be accessed directly, always open the
branch itself.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    GitInventory,
29
29
    )
30
30
from bzrlib.plugins.git.mapping import (
31
 
    GitFileIdMap,
32
31
    mode_is_executable,
33
32
    mode_kind,
34
33
    )
47
46
        except KeyError, r:
48
47
            raise errors.NoSuchRevision(repository, revision_id)
49
48
        self.tree = commit.tree
50
 
        try:
51
 
            file_id_map_sha = store[self.tree][self.mapping.BZR_FILE_IDS_FILE][1]
52
 
        except KeyError:
53
 
            file_ids = {}
54
 
        else:
55
 
            file_ids = self.mapping.import_fileid_map(store[file_id_map_sha])
56
 
        fileid_map = GitFileIdMap(file_ids, self.mapping)
57
 
        self._inventory = GitInventory(self.tree, self.mapping, fileid_map, store, 
 
49
        self._inventory = GitInventory(self.tree, self.mapping, store, 
58
50
                                       revision_id)
59
51
 
60
52
    def get_revision_id(self):