~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/option.py

  • Committer: Aaron Bentley
  • Date: 2008-11-15 20:37:36 UTC
  • mto: This revision was merged to the branch mainline in revision 3838.
  • Revision ID: aaron@aaronbentley.com-20081115203736-6ikutv274y59s0jo
Shelf supports multiple diff writers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
564
564
_global_option('dry-run',
565
565
               help="Show what would be done, but don't actually do anything.")
566
566
_global_option('name-from-revision', help='The path name in the old tree.')
 
567
 
 
568
diff_writer_registry = _mod_registry.Registry()
 
569
diff_writer_registry.register('plain', lambda x: x, 'Plaintext diff output.')
 
570
diff_writer_registry.default_key = 'plain'