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

Almost make lightweight checkout work, from abentley.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
            cachedbs[cache_file] = cache.sqlite3.connect(cache_file)
61
61
        self.cachedb = cachedbs[cache_file]
62
62
        self._init_cachedb()
 
63
        self._format = GitFormat()
63
64
 
64
65
    def _init_cachedb(self):
65
66
        self.cachedb.executescript("""
472
473
        if git_id in self._inventory.git_file_data:
473
474
            return self._inventory.git_file_data[git_id]
474
475
        return self._repository._get_blob(git_id)
 
476
 
 
477
 
 
478
class GitFormat(object):
 
479
 
 
480
    supports_tree_reference = False