~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: John Arbash Meinel
  • Date: 2006-12-07 16:21:39 UTC
  • mfrom: (2120.6.11 bzr.config-policy)
  • mto: This revision was merged to the branch mainline in revision 2168.
  • Revision ID: john@arbash-meinel.com-20061207162139-c2jh91j00430ij9p
(James Henstridge) Add support for per-entry configuration policy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
from bzrlib import (
28
28
        bzrdir,
29
29
        cache_utf8,
 
30
        config as _mod_config,
30
31
        errors,
31
32
        lockdir,
32
33
        lockable_files,
1230
1231
 
1231
1232
    def set_push_location(self, location):
1232
1233
        """See Branch.set_push_location."""
1233
 
        self.get_config().set_user_option('push_location', location, 
1234
 
                                          local=True)
 
1234
        self.get_config().set_user_option(
 
1235
            'push_location', location,
 
1236
            store=_mod_config.STORE_LOCATION_NORECURSE)
1235
1237
 
1236
1238
    @needs_write_lock
1237
1239
    def set_parent(self, url):