~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Patch Queue Manager
  • Date: 2011-11-29 01:29:56 UTC
  • mfrom: (6319.1.6 test-timeout)
  • Revision ID: pqm@pqm.ubuntu.com-20111129012956-uclbanos2gylcgnw
(mbp) bzr selftest tests fail after a configurable timeout (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2602
2602
to physical disk.  This is somewhat slower, but means data should not be
2603
2603
lost if the machine crashes.  See also dirstate.fdatasync.
2604
2604
'''))
 
2605
 
 
2606
option_registry.register(
 
2607
    Option('selftest.timeout',
 
2608
        default='600',
 
2609
        from_unicode=int_from_store,
 
2610
        help='Abort selftest if one test takes longer than this many seconds',
 
2611
        ))
 
2612
 
2605
2613
option_registry.register(
2606
2614
    Option('send_strict', default=None,
2607
2615
           from_unicode=bool_from_store,