~benoit.pierre/bzrtools/shell_improvements

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Benoît Pierre
  • Date: 2008-11-30 16:02:59 UTC
  • mfrom: (682.1.5 bzrtools)
  • Revision ID: benoit.pierre@gmail.com-20081130160259-3klyr8tq3asr7kbp
Merge with upstream.

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():