~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2008-11-23 21:05:55 UTC
  • Revision ID: aaron@aaronbentley.com-20081123210555-4gp0xsy4pvulj0qz
Add auto-color support to shelve

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
 
58
58
 
59
59
option.diff_writer_registry.register_lazy(
 
60
    'auto-color', 'bzrlib.plugins.bzrtools.colordiff', 'auto_diff_writer',
 
61
    'Colorized diffs, if supported',
 
62
)
 
63
option.diff_writer_registry.register_lazy(
60
64
    'color', 'bzrlib.plugins.bzrtools.colordiff', 'DiffWriter',
61
65
    'Colorized diffs',
62
66
)
63
 
option.diff_writer_registry.default_key = 'color'
 
67
option.diff_writer_registry.default_key = 'auto-color'
64
68
 
65
69
 
66
70
def test_suite():