~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Jelmer Vernooij
  • Date: 2009-04-06 02:54:14 UTC
  • mfrom: (4253 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4255.
  • Revision ID: jelmer@samba.org-20090406025414-65tpjwcmjp5wa5oj
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
709
709
                        trace.warning('Value "%s" is masked by "%s" from'
710
710
                                      ' branch.conf', value, mask_value)
711
711
 
712
 
 
713
712
    def _gpg_signing_command(self):
714
713
        """See Config.gpg_signing_command."""
715
714
        return self._get_safe_value('_gpg_signing_command')
917
916
    # XXX: Really needs a better name, as this is not part of the tree! -- mbp 20080507
918
917
 
919
918
    def __init__(self, branch):
920
 
        # XXX: Really this should be asking the branch for its configuration
921
 
        # data, rather than relying on a Transport, so that it can work
922
 
        # more cleanly with a RemoteBranch that has no transport.
923
 
        self._config = TransportConfig(branch._transport, 'branch.conf')
 
919
        self._config = branch._get_config()
924
920
        self.branch = branch
925
921
 
926
922
    def _get_parser(self, file=None):