19
19
from inventory import Inventory, InventoryEntry
20
from branch import Branch, ScratchBranch
20
from branch import Branch, ScratchBranch, find_branch
21
21
from osutils import format_date
22
22
from tree import Tree
23
from diff import diff_trees
24
from trace import mutter, warning
23
from diff import compare_trees
24
from trace import mutter, warning, open_tracefile
25
from log import show_log
29
30
DEFAULT_IGNORE = ['.bzr.log',
30
31
'*~', '#*#', '*$', '.#*',
31
33
'*.tmp', '*.bak', '*.BAK', '*.orig',
32
34
'*.o', '*.obj', '*.a', '*.py[oc]', '*.so', '*.exe', '*.elc',
33
'{arch}', 'CVS', '.svn', '_darcs', 'SCCS', 'RCS',
35
'{arch}', 'CVS', 'CVS.adm', '.svn', '_darcs', 'SCCS', 'RCS',
35
'TAGS', '.make.state', '.sconsign', '.tmp*']
38
'TAGS', '.make.state', '.sconsign', '.tmp*',
37
41
IGNORE_FILENAME = ".bzrignore"
40
44
user_encoding = locale.getpreferredencoding()
42
47
__copyright__ = "Copyright 2005 Canonical Development Ltd."
43
48
__author__ = "Martin Pool <mbp@canonical.com>"
44
49
__version__ = '0.0.5pre'
52
# in python2.4 there is a 'set' builtin type; in 2.3 we need to use
53
# the slower pure-python 'sets' module.
55
if sys.version_info < (2, 4):
58
frozenset = sets.ImmutableSet
63
frozenset = __builtin__.frozenset