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

Default branch nick to mapped git ref name (Max Bowsher)

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
 
20
20
from bzrlib import lru_cache, trace
21
 
from bzrlib.plugins.fastimport import helpers
 
21
from bzrlib.plugins.fastimport import branch_mapper, helpers
22
22
 
23
23
class CacheManager(object):
24
24
 
66
66
                # info not in file - possible when no blobs used
67
67
                pass
68
68
 
 
69
        # BranchMapper has no state (for now?), but we keep it around rather
 
70
        # than reinstantiate on every usage
 
71
        self.branch_mapper = branch_mapper.BranchMapper()
 
72
 
69
73
    def dump_stats(self, note=trace.note):
70
74
        """Dump some statistics about what we cached."""
71
75
        # TODO: add in inventory stastistics