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

Provide repository_format attribute, as required by newer foreign VCS tests in bzrlib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
299
299
                                   "BzrGitMappingv1")
300
300
mapping_registry.register_lazy('git-experimental', "bzrlib.plugins.git.mapping",
301
301
                                   "BzrGitMappingExperimental")
302
 
mapping_registry.set_default('git-v1')
 
302
mapping_registry.set_default('git-experimental')
303
303
 
304
304
 
305
305
class ForeignGit(ForeignVcs):
310
310
        from bzrlib.plugins.git.branch import GitBranchFormat
311
311
        return GitBranchFormat()
312
312
 
 
313
    @property
 
314
    def repository_format(self):
 
315
        from bzrlib.plugins.git.repository import GitRepositoryFormat
 
316
        return GitRepositoryFormat()
 
317
 
313
318
    def __init__(self):
314
319
        super(ForeignGit, self).__init__(mapping_registry)
315
320
        self.abbreviation = "git"