/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/status.py

Make ChangeReporter interface nicer

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
                (old, new), require_versioned=False)
145
145
            changes = new._iter_changes(old, show_unchanged,
146
146
                                        specific_file_ids)
147
 
            def output(fmt, *args):
148
 
                to_file.write((fmt % args) + '\n')
149
 
            reporter = _mod_delta.ChangeReporter(old.inventory, output)
 
147
            reporter = _mod_delta.ChangeReporter(old.inventory,
 
148
                output_file=to_file)
150
149
            _mod_delta.report_changes(changes, reporter)
151
150
        else:
152
151
            delta = new.changes_from(old, want_unchanged=show_unchanged,