/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

GitBranchBuilder now handles file names with newlines correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
"""A GIT branch and repository format implementation for bzr."""
20
20
 
21
 
from bzrlib import bzrdir
22
 
from bzrlib.plugins.git.git_dir import GitBzrDirFormat
 
21
from bzrlib import (
 
22
#    branch,
 
23
    bzrdir,
 
24
#    repository,
 
25
    )
23
26
 
24
 
bzrdir.format_registry.register(
25
 
    'git', GitBzrDirFormat,
 
27
bzrdir.format_registry.register_lazy('git',
 
28
    'bzrlib.plugins.git.git_dir', 'GitDirFormat',
26
29
    help='GIT - the stupid content tracker.',
27
30
    native=False, hidden=True, experimental=True,
28
31
    )
29
32
 
30
 
bzrdir.BzrDirFormat.register_control_format(GitBzrDirFormat)
 
33
# formats which have no format string are not discoverable
 
34
# and not independently creatable, so are not registered.
 
35
 
31
36
 
32
37
def test_suite():
33
38
    from bzrlib.plugins.git import tests