~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/textui.py

  • Committer: Martin Pool
  • Date: 2005-05-03 07:48:16 UTC
  • Revision ID: mbp@sourcefrog.net-20050503074816-f404dfcae6acf6fe
- refactor command functions into command classes
- much more help
- better system for generating help from command descriptions
- split diff code into bzrlib.diff

Show diffs side-by-side

added added

removed removed

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