/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

Add git: revision specifier.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
from bzrlib import bzrdir
27
27
from bzrlib.foreign import foreign_vcs_registry
28
28
from bzrlib.lockable_files import TransportLock
 
29
from bzrlib.revisionspec import revspec_registry
29
30
from bzrlib.transport import register_lazy_transport
30
31
from bzrlib.commands import Command, register_command
31
32
from bzrlib.option import Option
56
57
    "bzrlib.plugins.git.dir", "LocalGitBzrDirFormat",
57
58
    help='GIT repository.', native=False, experimental=True,
58
59
    )
 
60
revspec_registry.register_lazy("git:", "bzrlib.plugins.git.revspec", 
 
61
    "RevisionSpec_git")
59
62
 
60
63
class GitBzrDirFormat(bzrdir.BzrDirFormat):
61
64
    _lock_class = TransportLock