/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

Support DWIM git: revspecs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
revspec_registry.register_lazy("git:", "bzrlib.plugins.git.revspec", 
96
96
    "RevisionSpec_git")
97
97
 
 
98
try:
 
99
    from bzrlib.revisionspec import dwim_revspecs
 
100
except ImportError:
 
101
    pass
 
102
else:
 
103
    from bzrlib.plugins.git.revspec import RevisionSpec_git
 
104
    dwim_revspecs.append(RevisionSpec_git)
 
105
 
98
106
 
99
107
class GitBzrDirFormat(bzrdir.BzrDirFormat):
100
108