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

Fix some bit of fetching.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    import dulwich as git
27
27
from bzrlib import bzrdir
28
28
from bzrlib.foreign import ForeignVcs, VcsMappingRegistry, foreign_vcs_registry
29
 
from bzrlib.plugins.git.dir import GitBzrDirFormat
 
29
from bzrlib.plugins.git.dir import LocalGitBzrDirFormat, RemoteGitBzrDirFormat
 
30
from bzrlib.transport import register_lazy_transport
30
31
 
31
32
bzrdir.format_registry.register(
32
 
    'git', GitBzrDirFormat,
 
33
    'git', LocalGitBzrDirFormat,
33
34
    help='GIT repository.', 
34
35
    native=False, experimental=True,
35
36
    )
36
37
 
37
 
bzrdir.BzrDirFormat.register_control_format(GitBzrDirFormat)
 
38
bzrdir.BzrDirFormat.register_control_format(LocalGitBzrDirFormat)
 
39
bzrdir.BzrDirFormat.register_control_format(RemoteGitBzrDirFormat)
 
40
 
 
41
register_lazy_transport("git://", 'bzrlib.plugins.git.remote',
 
42
                        'GitSmartTransport')
38
43
 
39
44
 
40
45
class ForeignGit(ForeignVcs):