~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/__init__.py

first cut at merge from integration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005, 2006 Canonical Development Ltd
 
1
# (C) 2005 Canonical Development Ltd
2
2
 
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
16
16
 
17
17
"""bzr library"""
18
18
 
 
19
BZRDIR = ".bzr"
19
20
 
20
21
# please keep these sorted (in C locale order) to aid merging
21
22
DEFAULT_IGNORE = [
46
47
                  '.arch-inventory',
47
48
                  '.bzr.log',
48
49
                  '.del-*',
49
 
                  '.hg',
50
50
                  '.git',
51
51
                  '.jamdeps'
52
52
                  '.libs',
72
72
                  'stamp-h.in',
73
73
                  'stamp-h1',
74
74
                  '{arch}',
75
 
                  # Our setup tests dump .python-eggs in the bzr source tree
76
 
                  # root
77
 
                  './.python-eggs',
78
75
                  ]
79
76
 
80
77
IGNORE_FILENAME = ".bzrignore"
91
88
user_encoding = locale.getpreferredencoding() or 'ascii'
92
89
del locale
93
90
 
94
 
__copyright__ = "Copyright 2005, 2006 Canonical Development Ltd."
95
 
__version__ = version_string = '0.9'
96
 
 
97
 
# same format as sys.version_info: "A tuple containing the five components of
98
 
# the version number: major, minor, micro, releaselevel, and serial. All
99
 
# values except releaselevel are integers; the release level is 'alpha',
100
 
# 'beta', 'candidate', or 'final'. The version_info value corresponding to the
101
 
# Python version 2.0 is (2, 0, 0, 'final', 0)."  Additionally we use a
102
 
# releaselevel of 'dev' for unreleased under-development code.
103
 
 
104
 
version_info = (0, 9, 0, 'dev', 0)
105
 
 
106
 
if version_info[3] == 'final':
107
 
    version_string = '%d.%d.%d' % version_info[:3]
108
 
else:
109
 
    version_string = '%d.%d.%d%s%d' % version_info
110
 
__version__ = version_string 
 
91
__copyright__ = "Copyright 2005,06 Canonical Development Ltd."
 
92
__version__ = version_string = '0.8pre'
 
93
# same format as sys.version_info
 
94
version_info = (0, 8, 0, 'pre', 0)
 
95
 
111
96
 
112
97
from bzrlib.symbol_versioning import deprecated_function, zero_seven
113
98