~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-20 03:50:35 UTC
  • mfrom: (1740.5.9 bzr.mbp.traceback)
  • Revision ID: pqm@pqm.ubuntu.com-20060620035035-a9a7dc096fed5060
(mbp) show traceback on stderr on unexpected errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# (C) 2005 Canonical Development Ltd
 
1
# Copyright (C) 2005, 2006 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"
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',
47
47
                  '.bzr.log',
48
48
                  '.del-*',
 
49
                  '.hg',
49
50
                  '.git',
50
51
                  '.jamdeps'
51
52
                  '.libs',
56
57
                  'BitKeeper',
57
58
                  'CVS',
58
59
                  'CVS.adm',
59
 
                  'Makefile.in',
60
60
                  'RCS',
61
61
                  'SCCS',
62
62
                  'TAGS',
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',
75
78
                  ]
76
79
 
77
80
IGNORE_FILENAME = ".bzrignore"
88
91
user_encoding = locale.getpreferredencoding() or 'ascii'
89
92
del locale
90
93
 
91
 
__copyright__ = "Copyright 2005 Canonical Development Ltd."
92
 
__version__ = version_string = '0.7pre'
93
 
# same format as sys.version_info
94
 
version_info = (0, 7, 0, 'pre', 0)
95
 
 
 
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 
96
111
 
97
112
from bzrlib.symbol_versioning import deprecated_function, zero_seven
98
113