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

Support remote dpush (except for references).

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    )
34
34
 
35
35
from bzrlib.plugins.git.mapping import (
 
36
    default_mapping,
36
37
    directory_to_tree,
37
38
    mapping_registry,
38
39
    revision_to_commit,
55
56
    def __init__(self, repository, mapping=None):
56
57
        self.repository = repository
57
58
        if mapping is None:
58
 
            self.mapping = self.repository.get_mapping()
 
59
            self.mapping = default_mapping
59
60
        else:
60
61
            self.mapping = mapping
61
62
        self._idmap = SqliteGitShaMap.from_repository(repository)