/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 bzrlib/__init__.py

  • Committer: Aaron Bentley
  • Date: 2006-04-07 22:46:52 UTC
  • mfrom: (1645 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1727.
  • Revision ID: aaron.bentley@utoronto.ca-20060407224652-4925bc3735b926f8
Merged latest bzr.dev

Show diffs side-by-side

added added

removed removed

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