~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Vincent Ladeuil
  • Date: 2011-08-09 14:01:31 UTC
  • mto: (6059.4.3 migrate-config-options)
  • mto: This revision was merged to the branch mainline in revision 6063.
  • Revision ID: v.ladeuil+lp@free.fr-20110809140131-03lysccptsnr2lih
fdatasync options are booleans.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2334
2334
# Registered options in lexicographical order
2335
2335
 
2336
2336
option_registry.register(
2337
 
    Option('dirstate.fdatasync', default=True,
 
2337
    Option('dirstate.fdatasync', default=True, from_unicode=bool_from_store,
2338
2338
           help='''
2339
2339
Flush dirstate changes onto physical disk?
2340
2340
 
2356
2356
           help= 'Unicode encoding for output'
2357
2357
           ' (terminal encoding if not specified).'))
2358
2358
option_registry.register(
2359
 
    Option('repository.fdatasync', default=True,
 
2359
    Option('repository.fdatasync', default=True, from_unicode=bool_from_store,
2360
2360
           help='''\
2361
2361
Flush repository changes onto physical disk?
2362
2362