~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-11-26 02:26:50 UTC
  • mfrom: (4792.5.5 cleanup)
  • Revision ID: pqm@pqm.ubuntu.com-20091126022650-zjeqb0su8ak4oi6s
(mbp) remove bzrlib.textui

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
    merge,
66
66
    revision as _mod_revision,
67
67
    revisiontree,
68
 
    textui,
69
68
    trace,
70
69
    transform,
71
70
    ui,
1948
1947
 
1949
1948
        new_files=set()
1950
1949
        unknown_nested_files=set()
 
1950
        if to_file is None:
 
1951
            to_file = sys.stdout
1951
1952
 
1952
1953
        def recurse_directory_to_add_files(directory):
1953
1954
            # Recurse directory and add all files
2023
2024
                        new_status = 'I'
2024
2025
                    else:
2025
2026
                        new_status = '?'
2026
 
                    textui.show_status(new_status, self.kind(fid), f,
2027
 
                                       to_file=to_file)
 
2027
                    # XXX: Really should be a more abstract reporter interface
 
2028
                    kind_ch = osutils.kind_marker(self.kind(fid))
 
2029
                    to_file.write(new_status + '       ' + f + kind_ch + '\n')
2028
2030
                # Unversion file
2029
2031
                inv_delta.append((f, None, fid, None))
2030
2032
                message = "removed %s" % (f,)