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

Fix setting config options to support unicode values and don't attempt to reset repositories _fallback_repositories as the simple approach fails to work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
    def do_with_locked_branch(self, branch, value, name, section):
155
155
        if not section:
156
156
            section = None
157
 
        branch._get_config().set_option(value, name, section)
 
157
        branch._get_config().set_option(value.decode('utf8'), name, section)
158
158
        return SuccessfulSmartServerResponse(())
159
159
 
160
160