~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/textui.py

  • Committer: mbp at sourcefrog
  • Date: 2005-04-11 02:44:45 UTC
  • Revision ID: mbp@sourcefrog.net-20050411024445-a2d4fa7e39309d2300533a6a
- Experiments in inventory performance

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?
23
22
        kind_ch = '/'
24
23
    else:
25
 
        assert kind == 'file', ("can't handle file of type %r" % kind)
 
24
        assert kind == 'file'
26
25
        kind_ch = ''
27
26
 
28
27
    assert len(state) == 1