374
367
_merge_type_registry.register_lazy('weave', 'bzrlib.merge', 'WeaveMerger',
375
368
"Weave-based merge")
377
_global_option('all')
378
370
_global_option('overwrite', help='Ignore differences between branches and '
379
371
'overwrite unconditionally.')
380
_global_option('basis', type=str)
381
_global_option('bound')
382
_global_option('diff-options', type=str)
383
_global_option('help',
384
help='Show help message.',
386
_global_option('file', type=unicode, short_name='F')
387
_global_option('force')
388
_global_option('format', type=unicode)
389
_global_option('forward')
390
_global_option('message', type=unicode,
392
_global_option('no-recurse')
393
_global_option('profile',
394
help='Show performance profiling information.')
395
372
_global_option('revision',
396
373
type=_parse_revision_str,
398
375
help='See \'help revisionspec\' for details.')
399
376
_global_option('show-ids',
400
377
help='Show internal object ids.')
401
_global_option('timezone',
403
help='Display timezone as local, original, or utc.')
404
_global_option('unbound')
405
378
_global_option('verbose',
406
379
help='Display more information.',
408
_global_option('version')
409
_global_option('email')
410
_global_option('update')
411
381
_global_registry_option('log-format', "Use specified log format.",
412
382
log.log_formatter_registry, value_switches=True,
413
383
title='Log format')
414
_global_option('long',
415
help='Use detailed log format. Same as --log-format long.',
417
_global_option('short',
418
help='Use moderately short log format. Same as --log-format short.')
419
_global_option('line', help='Use log format with one line per revision. Same as --log-format line.')
420
_global_option('root', type=str)
421
_global_option('no-backup')
422
384
_global_registry_option('merge-type', 'Select a particular merge algorithm.',
423
385
_merge_type_registry, value_switches=True,
424
386
title='Merge algorithm')
425
_global_option('pattern', type=str)
426
_global_option('quiet', short_name='q')
427
387
_global_option('remember', help='Remember the specified location as a'
429
389
_global_option('reprocess', help='Reprocess to reduce spurious conflicts.')
430
_global_option('kind', type=str)
431
_global_option('dry-run',
432
help="Show what would be done, but don't actually do anything.")
433
_global_option('name-from-revision', help='The path name in the old tree.')
436
# prior to 0.14 these were always globally registered; the old dict is
437
# available for plugins that use it but it should not be used.
438
Option.SHORT_OPTIONS = symbol_versioning.DeprecatedDict(
439
symbol_versioning.zero_fourteen,
442
'F': Option.OPTIONS['file'],
443
'h': Option.OPTIONS['help'],
444
'm': Option.OPTIONS['message'],
445
'r': Option.OPTIONS['revision'],
446
'v': Option.OPTIONS['verbose'],
447
'l': Option.OPTIONS['long'],
448
'q': Option.OPTIONS['quiet'],
450
'Set the short option name when constructing the Option.',
391
_help_option = Option('help',
392
help='Show help message.',