/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/branch.py

add support for specifying policy when storing options

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,
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, store=config.STORE_LOCATION_NORECURSE)
1235
1236
 
1236
1237
    @needs_write_lock
1237
1238
    def set_parent(self, url):