~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-02 04:09:08 UTC
  • mfrom: (6046.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20110802040908-hqz2wr82nyrk14gk
(mbp) merge 2.3 and 2.4 to trunk (Martin Pool)

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()