~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Martin Pool
  • Date: 2011-08-02 01:10:27 UTC
  • mfrom: (6015.9.4 2.4)
  • mto: This revision was merged to the branch mainline in revision 6047.
  • Revision ID: mbp@canonical.com-20110802011027-cv8b6h9q18ctxle4
merge up 2.3 and 2.4 into trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
2291
2291
    'editor', Option('editor'),
2292
2292
    help='The command called to launch an editor to enter a message.')
2293
2293
 
 
2294
option_registry.register(
 
2295
    'dirstate.fdatasync', Option('dirstate.fdatasync', default=True),
 
2296
    help='Flush dirstate changes onto physical disk?')
 
2297
 
 
2298
option_registry.register(
 
2299
    'repository.fdatasync',
 
2300
    Option('repository.fdatasync', default=True),
 
2301
    help='Flush repository changes onto physical disk?')
 
2302
 
2294
2303
 
2295
2304
class Section(object):
2296
2305
    """A section defines a dict of option name => value.
2821
2830
class LocationStack(_CompatibleStack):
2822
2831
 
2823
2832
    def __init__(self, location):
 
2833
        """Make a new stack for a location and global configuration.
 
2834
        
 
2835
        :param location: A URL prefix to """
2824
2836
        lstore = LocationStore()
2825
2837
        matcher = LocationMatcher(lstore, location)
2826
2838
        gstore = GlobalStore()