/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Vincent Ladeuil
  • Date: 2011-08-12 14:47:42 UTC
  • mto: This revision was merged to the branch mainline in revision 6075.
  • Revision ID: v.ladeuil+lp@free.fr-20110812144742-g12l2cgakyulg935
Migrate bzr.workingtree.worth_saving_limit to stack-based config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2380
2380
# Registered options in lexicographical order
2381
2381
 
2382
2382
option_registry.register(
2383
 
    Option('dirstate.fdatasync', default=True, from_unicode=bool_from_store,
2384
 
           help='''
 
2383
    Option('bzr.workingtree.worth_saving_limit', default=10,
 
2384
           from_unicode=int_from_store,  invalid='warning',
 
2385
           help='''\
 
2386
How many changes before saving the dirstate.
 
2387
 
 
2388
-1 means never save.
 
2389
'''))
 
2390
option_registry.register(
 
2391
    Option('dirstate.fdatasync', default=True,
 
2392
           from_unicode=bool_from_store,
 
2393
           help='''\
2385
2394
Flush dirstate changes onto physical disk?
2386
2395
 
2387
2396
If true (default), working tree metadata changes are flushed through the