/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 bugs in two lookup_tree_id implementations and add a test for it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    Tree,
24
24
    )
25
25
 
26
 
from bzrlib import (
27
 
    annotate,
28
 
    )
29
 
 
30
26
from bzrlib.versionedfile import (
31
27
    AbsentContentFactory,
32
28
    ChunkedContentFactory,
43
39
    def check(self, progressbar=None):
44
40
        return True
45
41
 
46
 
    def get_annotator(self):
47
 
        return annotate.Annotator(self)
48
 
 
49
42
    def iterkeys(self):
50
43
        for sha in self.object_store:
51
44
            if type(sha) == Commit:
91
84
    def check(self, progressbar=None):
92
85
        return True
93
86
 
94
 
    def get_annotator(self):
95
 
        return annotate.Annotator(self)
96
 
 
97
87
    def add_mpdiffs(self, records):
98
88
        raise NotImplementedError(self.add_mpdiffs)
99
89