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

Avoid caching negatives.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
    """Git repository on the file system."""
97
97
 
98
98
    def __init__(self, gitdir, lockfiles):
99
 
        # FIXME: This also caches negatives. Need to be more careful
100
 
        # about this once we start writing to git
101
 
        self._parents_provider = graph.CachingParentsProvider(self)
102
99
        GitRepository.__init__(self, gitdir, lockfiles)
103
100
        self.base = gitdir.root_transport.base
104
101
        self._git = gitdir._git
119
116
            ret.add(rev)
120
117
        return ret
121
118
 
122
 
    def _make_parents_provider(self):
123
 
        """See Repository._make_parents_provider()."""
124
 
        return self._parents_provider
125
 
 
126
119
    def get_parent_map(self, revids):
127
120
        parent_map = {}
128
121
        for revision_id in revids: