Comment 1 for bug 86838

Revision history for this message
James Henstridge (jamesh) wrote : Re: locations.conf gets rewritten, dropping necessary quotes

A simple test case for this problem:

    >>> from bzrlib.branch import Branch
    >>> b = Branch.open('.')
    >>> config = b.get_config()
    >>> config.set_user_option('foo', 'abc#def')
    >>> config.get_user_option('foo')
    u'abc'

I can reproduce this with bzr-1.0 and bzr.dev r3211. In both cases, the following gets written to the configuration file:

    foo = abc#def