~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/status.py

  • Committer: Arnaud Jeansen
  • Date: 2010-03-19 23:58:06 UTC
  • mto: This revision was merged to the branch mainline in revision 5126.
  • Revision ID: arnaud.jeansen@gmail.com-20100319235806-n0owdq874qsrb12u
Go back to unified report_delta method (i.e. former TreeDelta.show())

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
# if known, but only if really going to the terminal (not into a file)
35
35
 
36
36
 
37
 
def __report_changes(to_file, old, new, specific_files, 
38
 
                     show_short_reporter, show_long_callback, 
39
 
                     short=False, want_unchanged=False, 
40
 
                     want_unversioned=False, show_ids=False):
 
37
def report_changes(to_file, old, new, specific_files, 
 
38
                   show_short_reporter, show_long_callback, 
 
39
                   short=False, want_unchanged=False, 
 
40
                   want_unversioned=False, show_ids=False):
41
41
    #TODO document sig
42
42
 
43
43
    if short:
137
137
            # Reporter used for short outputs
138
138
            reporter = _mod_delta._ChangeReporter(output_file=to_file,
139
139
                unversioned_filter=new.is_ignored)
140
 
            __report_changes(to_file, old, new, specific_files, 
 
140
            report_changes(to_file, old, new, specific_files, 
141
141
                           reporter, show_long_callback, 
142
142
                           short=short, want_unchanged=show_unchanged, 
143
143
                           want_unversioned=want_unversioned, show_ids=show_ids)