~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/textui.py

  • Committer: Martin Pool
  • Date: 2005-05-05 06:45:59 UTC
  • Revision ID: mbp@sourcefrog.net-20050505064559-59d84d03809198f4
todo

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
def show_status(state, kind, name):
21
21
    if kind == 'directory':
 
22
        # use this even on windows?
22
23
        kind_ch = '/'
23
24
    else:
24
 
        assert kind == 'file'
 
25
        assert kind == 'file', ("can't handle file of type %r" % kind)
25
26
        kind_ch = ''
26
27
 
27
28
    assert len(state) == 1