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
A simple test case for this problem:
>>> from bzrlib.branch import Branch set_user_ option( 'foo', 'abc#def') get_user_ option( 'foo')
>>> b = Branch.open('.')
>>> config = b.get_config()
>>> config.
>>> config.
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