~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Vincent Ladeuil
  • Date: 2011-08-12 12:11:44 UTC
  • mto: This revision was merged to the branch mainline in revision 6075.
  • Revision ID: v.ladeuil+lp@free.fr-20110812121144-36z4ezknlgkmv9i6
Migrate locks.steal_dead to stack-based config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2397
2397
    Option('language',
2398
2398
           help='Language to translate messages into.'))
2399
2399
option_registry.register(
 
2400
    Option('locks.steal_dead', default=False, from_unicode=bool_from_store,
 
2401
           help='''\
 
2402
Steal locks that appears to be dead.
 
2403
 
 
2404
If set to true, bzr will automatically break locks held by processes from
 
2405
the same machine and user that are no longer alive.  Otherwise, it will
 
2406
print a message and you can break the lock manually, if you are satisfied
 
2407
the object is no longer in use.
 
2408
'''))
 
2409
option_registry.register(
2400
2410
    Option('output_encoding',
2401
2411
           help= 'Unicode encoding for output'
2402
2412
           ' (terminal encoding if not specified).'))