~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/__init__.py

Merge from integration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
                  '*.py[oc]',
38
38
                  '*.so',
39
39
                  '*.tmp',
 
40
                  '.*.tmp',
40
41
                  '*~',
41
42
                  '.#*',
42
43
                  '.*.sw[nop]',
43
 
                  '.*.tmp',
 
44
                  '.sw[nop]',    # vim editing nameless file
44
45
                  '.DS_Store',
45
46
                  '.arch-ids',
46
47
                  '.arch-inventory',
56
57
                  'BitKeeper',
57
58
                  'CVS',
58
59
                  'CVS.adm',
59
 
                  'Makefile.in',
60
60
                  'RCS',
61
61
                  'SCCS',
62
62
                  'TAGS',
63
63
                  '_darcs',
64
64
                  'aclocal.m4',
65
65
                  'autom4te*',
66
 
                  'config.guess',
67
66
                  'config.h',
68
67
                  'config.h.in',
69
68
                  'config.log',
70
69
                  'config.status',
71
70
                  'config.sub',
72
 
                  'configure.in',
73
71
                  'stamp-h',
74
72
                  'stamp-h.in',
75
73
                  'stamp-h1',
90
88
user_encoding = locale.getpreferredencoding() or 'ascii'
91
89
del locale
92
90
 
93
 
__copyright__ = "Copyright 2005 Canonical Development Ltd."
94
 
__version__ = version_string = '0.7pre'
 
91
__copyright__ = "Copyright 2005,06 Canonical Development Ltd."
 
92
__version__ = version_string = '0.7rc1'
95
93
# same format as sys.version_info
96
 
version_info = (0, 7, 0, 'pre', 0)
97
 
 
98
 
 
 
94
version_info = (0, 7, 0, 'rc', 1)
 
95
 
 
96
 
 
97
from bzrlib.symbol_versioning import deprecated_function, zero_seven
 
98
 
 
99
@deprecated_function(zero_seven)
99
100
def get_bzr_revision():
100
 
    """If bzr is run from a branch, return (revno,revid) or None"""
 
101
    """If bzr is run from a branch, return (revno,revid) or None."""
101
102
    import bzrlib.errors
102
103
    from bzrlib.branch import Branch
103
104