133
132
_raise_if_nonexistent(specific_files, old, new)
134
delta = compare_trees(old, new, want_unchanged=show_unchanged,
133
delta = new.changes_from(old, want_unchanged=show_unchanged,
135
134
specific_files=specific_files)
136
135
delta.show(to_file,
137
136
show_ids=show_ids,
138
137
show_unchanged=show_unchanged)
140
if new_is_working_tree:
141
list_paths('unknown', new.unknowns(), specific_files, to_file)
142
conflict_title = False
143
for conflict in wt.conflicts():
144
if conflict_title is False:
145
print >> to_file, "conflicts:"
146
conflict_title = True
147
print >> to_file, " %s" % conflict
139
list_paths('unknown', new.unknowns(), specific_files, to_file)
140
conflict_title = False
141
# show the new conflicts only for now. XXX: get them from the delta.
142
for conflict in new.conflicts():
143
if conflict_title is False:
144
print >> to_file, "conflicts:"
145
conflict_title = True
146
print >> to_file, " %s" % conflict
148
147
if new_is_working_tree and show_pending:
149
148
show_pending_merges(new, to_file)