~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2012-01-18 14:09:19 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20120118140919-rlvdrhpc0nq1lbwi
Change set/remove to require a lock for the branch config files.

This means that tests (or any plugin for that matter) do not requires an
explicit lock on the branch anymore to change a single option. This also
means the optimisation becomes "opt-in" and as such won't be as
spectacular as it may be and/or harder to get right (nothing fails
anymore).

This reduces the diff by ~300 lines.

Code/tests that were updating more than one config option is still taking
a lock to at least avoid some IOs and demonstrate the benefits through
the decreased number of hpss calls.

The duplication between BranchStack and BranchOnlyStack will be removed
once the same sharing is in place for local config files, at which point
the Stack class itself may be able to host the changes.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 6379.6.1 13 years ago Jelmer Vernooij Import absolute_import in a few places. 20.8 KB Diff Download File
account.py 6379.6.7 13 years ago Jelmer Vernooij Move importing from future until after doc string, 3.4 KB Diff Download File
lp_api.py 6379.6.7 13 years ago Jelmer Vernooij Move importing from future until after doc string, 11.4 KB Diff Download File
lp_api_lite.py 6379.6.7 13 years ago Jelmer Vernooij Move importing from future until after doc string, 10.5 KB Diff Download File
lp_directory.py 6379.6.7 13 years ago Jelmer Vernooij Move importing from future until after doc string, 8 KB Diff Download File
lp_propose.py 6379.6.3 13 years ago Jelmer Vernooij Use absolute_import. 8.3 KB Diff Download File
lp_registration.py 6379.6.5 13 years ago Jelmer Vernooij Merge bzr.dev. 13 KB Diff Download File
test_account.py 5394.1.1 14 years ago Vincent Ladeuil Config files in bazaar home now use a lock 5.2 KB Diff Download File
test_lp_api.py 5967.12.5 13 years ago Martin Pool Update launchpad plugin for features under tests.f 3.7 KB Diff Download File
test_lp_api_lite.py 6089.1.1 13 years ago Vincent Ladeuil Merge 2.4 into trunk (including fix for #614713, # 23 KB Diff Download File
test_lp_directory.py 6191.2.1 13 years ago Martin Pool Avoid NameError when given an invalid ubuntu: laun 25.3 KB Diff Download File
test_lp_login.py 4505.1.4 15 years ago Jonathan Lange Use 'foo', not 'jml' 2.5 KB Diff Download File
test_lp_open.py 6404.6.7 13 years ago Vincent Ladeuil Change set/remove to require a lock for the branch 4.2 KB Diff Download File
test_lp_service.py 5557.1.7 14 years ago John Arbash Meinel Merge in the bzr.dev 5582 7.2 KB Diff Download File
test_register.py 6404.6.7 13 years ago Vincent Ladeuil Change set/remove to require a lock for the branch 14.4 KB Diff Download File