~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/textui.py

  • Committer: Martin Pool
  • Date: 2005-09-01 09:17:38 UTC
  • Revision ID: mbp@sourcefrog.net-20050901091738-5aafcae38c6c945c
- change Command infrastructure to use (mostly stateless) objects to
  represent commands; rather cleaner particularly for representing
  external commands

- clean up the way --profile is done

- various other bzrlib.commands and .help cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    if kind == 'directory':
22
22
        # use this even on windows?
23
23
        kind_ch = '/'
 
24
    elif kind == 'symlink':
 
25
        kind_ch = '->'
24
26
    else:
25
 
        assert kind == 'file'
 
27
        assert kind == 'file', ("can't handle file of type %r" % kind)
26
28
        kind_ch = ''
27
29
 
28
30
    assert len(state) == 1