~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/__init__.py

  • Committer: Martin Pool
  • Date: 2005-05-05 06:38:18 UTC
  • Revision ID: mbp@sourcefrog.net-20050505063818-3eb3260343878325
- do upload CHANGELOG to web server, even though it's autogenerated

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /usr/bin/env python
2
 
# -*- coding: UTF-8 -*-
 
1
# (C) 2005 Canonical Development Ltd
3
2
 
4
3
# This program is free software; you can redistribute it and/or modify
5
4
# it under the terms of the GNU General Public License as published by
22
21
from osutils import format_date
23
22
from tree import Tree
24
23
from diff import diff_trees
25
 
from trace import mutter, warning
 
24
from trace import mutter, warning, open_tracefile
26
25
import add
27
26
 
28
27
BZRDIR = ".bzr"
29
28
 
30
 
DEFAULT_IGNORE = ['.*', '*~', '#*#', '*.tmp', '*.o', '*.a', '*.py[oc]',
31
 
                  '{arch}']
 
29
DEFAULT_IGNORE = ['.bzr.log',
 
30
                  '*~', '#*#', '*$', '.#*',
 
31
                  '.*.swp', '.*.tmp',
 
32
                  '*.tmp', '*.bak', '*.BAK', '*.orig',
 
33
                  '*.o', '*.obj', '*.a', '*.py[oc]', '*.so', '*.exe', '*.elc', 
 
34
                  '{arch}', 'CVS', 'CVS.adm', '.svn', '_darcs', 'SCCS', 'RCS',
 
35
                  '*,v',
 
36
                  'BitKeeper',
 
37
                  'TAGS', '.make.state', '.sconsign', '.tmp*',
 
38
                  '.del-*']
32
39
 
33
40
IGNORE_FILENAME = ".bzrignore"
34
41
 
 
42
import locale
 
43
user_encoding = locale.getpreferredencoding()
 
44
 
 
45
__copyright__ = "Copyright 2005 Canonical Development Ltd."
 
46
__author__ = "Martin Pool <mbp@canonical.com>"
 
47
__version__ = '0.0.5pre'
35
48