~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/__init__.py

Expose library API version in bzrlib.bzr_version_info
similar to sys.version_info.

Add tests for this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
del locale
85
85
 
86
86
__copyright__ = "Copyright 2005 Canonical Development Ltd."
87
 
__version__ = '0.6pre'
 
87
__version__ = bzr_version_string = '0.6pre'
 
88
# same format as sys.version_info
 
89
bzr_version_info = (0, 6, 0, 'rc', 1)
88
90
 
89
91
 
90
92
def get_bzr_revision():