~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/status.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-23 15:55:12 UTC
  • mfrom: (1551.15.59 Aaron's mergeable stuff)
  • Revision ID: pqm@pqm.ubuntu.com-20070723155512-ckelzx8u6m5vxyja
Test that default behavior is as before

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
                           show_ids=show_ids,
164
164
                           show_unchanged=show_unchanged,
165
165
                           short_status=False)
166
 
            conflict_title = False
167
 
            # show the new conflicts only for now. XXX: get them from the delta.
168
 
            for conflict in new.conflicts():
169
 
                if not short and conflict_title is False:
170
 
                    print >> to_file, "conflicts:"
171
 
                    conflict_title = True
 
166
            # show the new conflicts only for now. XXX: get them from the
 
167
            # delta.
 
168
            conflicts = new.conflicts()
 
169
            if specific_files is not None:
 
170
                conflicts = conflicts.select_conflicts(new, specific_files,
 
171
                    ignore_misses=True, recurse=True)[1]
 
172
            if len(conflicts) > 0 and not short:
 
173
                print >> to_file, "conflicts:"
 
174
            for conflict in conflicts:
172
175
                if short:
173
176
                    prefix = 'C  '
174
177
                else: