28
30
If set, only show the status of files in this list.
33
If set, write to this file (default stdout.)
33
branch._need_readlock()
35
old = branch.basis_tree()
36
new = branch.working_tree()
38
delta = diff.compare_trees(old, new, want_unchanged=show_unchanged,
39
specific_files=specific_files)
41
delta.show(sys.stdout, show_ids=show_ids,
42
show_unchanged=show_unchanged)
44
unknowns = new.unknowns()
47
# FIXME: Should also match if the unknown file is within a
48
# specified directory.
50
if path not in specific_files:
36
from bzrlib.delta import compare_trees
44
old = branch.basis_tree()
45
new = branch.working_tree()
47
delta = compare_trees(old, new, want_unchanged=show_unchanged,
48
specific_files=specific_files)
52
show_unchanged=show_unchanged)
54
unknowns = new.unknowns()
57
# FIXME: Should also match if the unknown file is within a
58
# specified directory.
60
if path not in specific_files:
63
print >>to_file, 'unknown:'
65
print >>to_file, ' ', path
66
if show_pending and len(branch.pending_merges()) > 0:
67
print >>to_file, 'pending merges:'
68
for merge in branch.pending_merges():
69
print >> to_file, ' ', merge