/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

Viewing all changes in revision 5345.5.4.

Start implementing config files locking.

* bzrlib/tests/test_config.py:
(TestLockableConfig): Add a test for concurrent writers.

* bzrlib/config.py:
(LockableConfig): Some configs need to be locked (GlobalConfig and
LocationConfig at least).
(GlobalConfig.set_user_option): Needs a write lock to protect
against concurrent writes.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: