~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

(jelmer) Convert 'Branch.append_revisions_only' over to using config stacks.
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2533
2533
# Registered options in lexicographical order
2534
2534
 
2535
2535
option_registry.register(
 
2536
    Option('append_revisions_only',
 
2537
           default=None, from_unicode=bool_from_store, invalid='warning',
 
2538
           help='''\
 
2539
Whether to only append revisions to the mainline.
 
2540
 
 
2541
If this is set to true, then it is not possible to change the
 
2542
existing mainline of the branch.
 
2543
'''))
 
2544
option_registry.register(
2536
2545
    Option('acceptable_keys',
2537
2546
           default=None, from_unicode=list_from_store,
2538
2547
           help="""\