~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 6405.1.1 12 years ago Jelmer Vernooij add really basic test for shell-complete command. 5.4 KB Diff Download File
test_add.py 6404.6.7 12 years ago Vincent Ladeuil Change set/remove to require a lock for the branch 10.5 KB Diff Download File
test_added.py 5283.4.5 14 years ago Martin Pool Update remaining subclasses of ExternalBase 2.5 KB Diff Download File
test_alias.py 5967.12.1 13 years ago Martin Pool Move all test features into bzrlib.tests.features 3.4 KB Diff Download File
test_aliases.py 5345.1.26 14 years ago Vincent Ladeuil Merge lockable-config-files into remove-gratuitous 2.2 KB Diff Download File
test_ancestry.py 5967.2.1 13 years ago Jelmer Vernooij Remove unused imports. 4.5 KB Diff Download File
test_annotate.py 6421.3.2 12 years ago Vincent Ladeuil Further simplify test. 12.4 KB Diff Download File
test_bound_branches.py 6404.6.7 12 years ago Vincent Ladeuil Change set/remove to require a lock for the branch 14 KB Diff Download File
test_branch.py 6404.6.7 12 years ago Vincent Ladeuil Change set/remove to require a lock for the branch 28.4 KB Diff Download File
test_branches.py 6379.10.3 12 years ago Jelmer Vernooij Only display active branch if it's not one of the 3.1 KB Diff Download File
test_break_lock.py 6366.1.4 12 years ago Jelmer Vernooij Test connection count calls for most blackbox comm 5.7 KB Diff Download File
test_bundle_info.py 4593.2.1 15 years ago Martin Pool bundle_info blackbox test passes on rich-root form 2.1 KB Diff Download File
test_cat.py 6423.1.1 12 years ago Vincent Ladeuil Cleanup old blackbox tests and then some. Remove o 9.7 KB Diff Download File
test_cat_revision.py 5616.4.1 13 years ago Jelmer Vernooij 'bzr cat-revision' no longer requires a working tr 3 KB Diff Download File
test_check.py 5273.1.8 14 years ago Vincent Ladeuil Merge bzr.dev into cleanup 4.6 KB Diff Download File
test_checkout.py 6404.6.4 12 years ago Vincent Ladeuil Merge trunk resolving conflicts 8.7 KB Diff Download File
test_clean_tree.py 6228.1.2 13 years ago Benoît Pierre Add a clean_tree test to check interactive prompt 4 KB Diff Download File
test_command_encoding.py 5785.1.4 13 years ago Martin Remove testing that expected argv decoding to be d 3.8 KB Diff Download File
test_commit.py 6404.6.4 12 years ago Vincent Ladeuil Merge trunk resolving conflicts 37.8 KB Diff Download File
test_config.py 6415 12 years ago Patch Queue Manager (vila) Cleanup the configCommandLineStore implemen 11.8 KB Diff Download File
test_conflicts.py 5967.12.1 13 years ago Martin Pool Move all test features into bzrlib.tests.features 4.1 KB Diff Download File
test_debug.py 5609.16.1 13 years ago John Arbash Meinel Fix bug #713258. Restore logging of bytes transfer 2.3 KB Diff Download File
test_deleted.py 5283.4.5 14 years ago Martin Pool Update remaining subclasses of ExternalBase 1.2 KB Diff Download File
test_diff.py 6423.1.1 12 years ago Vincent Ladeuil Cleanup old blackbox tests and then some. Remove o 16.9 KB Diff Download File
test_dpush.py 6404.6.7 12 years ago Vincent Ladeuil Change set/remove to require a lock for the branch 5.9 KB Diff Download File
test_dump_btree.py 5651.2.1 13 years ago Eric Siegerman Fix traceback attempting to "bzr dump-btree --raw 4.6 KB Diff Download File
test_exceptions.py 6352.3.1 12 years ago Martin Packman Add test for working with non-ascii filenames unde 6.6 KB Diff Download File
test_export.py 6366.1.6 12 years ago Jelmer Vernooij Merge bzr.dev. 18.4 KB Diff Download File
test_export_pot.py 6177.1.3 13 years ago Jonathan Riddell get ModuleAvailableFeature from features 1.6 KB Diff Download File
test_filesystem_cicp.py 5967.12.1 13 years ago Martin Pool Move all test features into bzrlib.tests.features 10.9 KB Diff Download File
test_filtered_view_ops.py 5546.1.1 13 years ago Andrew Bennetts Remove RepositoryFormatCHK1 and RepositoryFormatCH 7.9 KB Diff Download File
test_find_merge_base.py 5273.1.8 14 years ago Vincent Ladeuil Merge bzr.dev into cleanup 1.5 KB Diff Download File
test_help.py 5597.1.1 13 years ago Vincent Ladeuil Accept 0 to mean no limit for BZR_COLUMNS 6.9 KB Diff Download File
test_hooks.py 6292.1.1 12 years ago Neil Martinsen-Burrell try looking up names for lazy hooks with __module_ 2.7 KB Diff Download File
test_ignore.py 5339.3.4 14 years ago Parth Malwankar cleanup of globster code. 6.9 KB Diff Download File
test_ignored.py 5273.1.8 14 years ago Vincent Ladeuil Merge bzr.dev into cleanup 1.9 KB Diff Download File
test_info.py 6404.6.2 12 years ago Vincent Ladeuil Merge trunk resolving conflicts and fixing more te 41.7 KB Diff Download File
test_init.py 6379.10.4 12 years ago Jelmer Vernooij Fix init test. 9.1 KB Diff Download File
test_inventory.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 4.3 KB Diff Download File
test_join.py 5967.7.1 13 years ago Martin Pool Deprecate __contains__ on Tree and Inventory 3.9 KB Diff Download File
test_locale.py 5863.3.1 13 years ago Martin Add failing test for cmd_plugins and multibyte wri 3.3 KB Diff Download File
test_log.py 6366.1.7 12 years ago Jelmer Vernooij Merge bzr.dev. 43.7 KB Diff Download File
test_logformats.py 5725.1.3 13 years ago Neil Martinsen-Burrell fix off by one knock-on error in blackbox test 4.2 KB Diff Download File
test_lookup_revision.py 6283.1.9 12 years ago Jelmer Vernooij Remove unused import. 1.1 KB Diff Download File
test_ls.py 6423.1.1 12 years ago Vincent Ladeuil Cleanup old blackbox tests and then some. Remove o 9.9 KB Diff Download File
test_lsprof.py 5967.12.1 13 years ago Martin Pool Move all test features into bzrlib.tests.features 1.2 KB Diff Download File
test_merge.py 6404.6.4 12 years ago Vincent Ladeuil Merge trunk resolving conflicts 32.5 KB Diff Download File
test_merge_directive.py 6404.6.7 12 years ago Vincent Ladeuil Change set/remove to require a lock for the branch 10.6 KB Diff Download File
test_missing.py 6423.1.1 12 years ago Vincent Ladeuil Cleanup old blackbox tests and then some. Remove o 8.7 KB Diff Download File
test_mkdir.py 6357.1.1 12 years ago Martin Packman Add failing tests for mkdir -p with existing direc 2.2 KB Diff Download File
test_modified.py 5273.1.8 14 years ago Vincent Ladeuil Merge bzr.dev into cleanup 2.8 KB Diff Download File
test_mv.py 6423.1.1 12 years ago Vincent Ladeuil Cleanup old blackbox tests and then some. Remove o 19.6 KB Diff Download File
test_nick.py 6423.1.1 12 years ago Vincent Ladeuil Cleanup old blackbox tests and then some. Remove o 3.6 KB Diff Download File
test_non_ascii.py 6112.4.7 13 years ago Jelmer Vernooij Fix tests. 21.7 KB Diff Download File
test_outside_wt.py 4985.2.1 14 years ago Vincent Ladeuil Deploy addAttrCleanup on the whole test suite. Se 3.2 KB Diff Download File
test_pack.py 6423.1.1 12 years ago Vincent Ladeuil Cleanup old blackbox tests and then some. Remove o 3.9 KB Diff Download File
test_pull.py 6404.6.7 12 years ago Vincent Ladeuil Change set/remove to require a lock for the branch 23.7 KB Diff Download File
test_push.py 6404.6.7 12 years ago Vincent Ladeuil Change set/remove to require a lock for the branch 38.5 KB Diff Download File
test_re_sign.py 6351.3.2 12 years ago Jelmer Vernooij Convert some gpg options to config stacks. 3.4 KB Diff Download File
test_reconcile.py 6366.1.4 12 years ago Jelmer Vernooij Test connection count calls for most blackbox comm 3.6 KB Diff Download File
test_reconfigure.py 6404.6.6 12 years ago Vincent Ladeuil Use idioms coherently and add comments to make the 11.3 KB Diff Download File
test_reference.py 6155.6.2 13 years ago Jelmer Vernooij Simplify handling of default format. 3.5 KB Diff Download File
test_remember_option.py 5861.1.11 13 years ago Vincent Ladeuil Add news entry and same comments. 7.4 KB Diff Download File
test_remerge.py 6423.1.1 12 years ago Vincent Ladeuil Cleanup old blackbox tests and then some. Remove o 5.3 KB Diff Download File
test_remove.py 5967.12.1 13 years ago Martin Pool Move all test features into bzrlib.tests.features 10.2 KB Diff Download File
test_remove_tree.py 6423.1.1 12 years ago Vincent Ladeuil Cleanup old blackbox tests and then some. Remove o 6.9 KB Diff Download File
test_repair_workingtree.py 5784.1.3 13 years ago Martin Pool Switch away from using failUnlessExists and failIf 3.8 KB Diff Download File
test_resolve.py 6143.1.4 13 years ago Jonathan Riddell update tests 3.7 KB Diff Download File
test_revert.py 5861.2.5 13 years ago Wouter van Heyst Fix remaining failing blackbox tests under pypy du 7.4 KB Diff Download File
test_revision_history.py 6423.1.1 12 years ago Vincent Ladeuil Cleanup old blackbox tests and then some. Remove o 2.9 KB Diff Download File
test_revision_info.py 5273.1.8 14 years ago Vincent Ladeuil Merge bzr.dev into cleanup 5.2 KB Diff Download File
test_revno.py 6366.1.4 12 years ago Jelmer Vernooij Test connection count calls for most blackbox comm 6.8 KB Diff Download File
test_rmbranch.py 6366.1.4 12 years ago Jelmer Vernooij Test connection count calls for most blackbox comm 3.3 KB Diff Download File
test_script.py 5531.1.3 14 years ago Vincent Ladeuil Implements --null-ouput for the test-script comman 2.4 KB Diff Download File
test_selftest.py 5393.5.2 14 years ago Martin Move check 'closer to the metal' as requested by l 6.4 KB Diff Download File
test_send.py 6404.6.7 12 years ago Vincent Ladeuil Change set/remove to require a lock for the branch 18.2 KB Diff Download File
test_serve.py 6236.1.1 13 years ago Jelmer Vernooij bzr serve can now serve remote URLs and things beh 17.9 KB Diff Download File
test_shared_repository.py 6366.1.11 12 years ago Jelmer Vernooij Fix tests. 6.7 KB Diff Download File
test_shell_complete.py 6404.6.6 12 years ago Vincent Ladeuil Use idioms coherently and add comments to make the 987 bytes Diff Download File
test_shelve.py 5853.1.2 13 years ago Vincent Ladeuil Prepare merging 2.3.3 into trunk 5.5 KB Diff Download File
test_sign_my_commits.py 6366.1.6 12 years ago Jelmer Vernooij Merge bzr.dev. 7.2 KB Diff Download File
test_split.py 5757.1.2 13 years ago Jelmer Vernooij Add separate file for knit pack repository formats 2.6 KB Diff Download File
test_status.py 6282.4.3 12 years ago Francis Devereux Test that shelf summary is not included in status 28.9 KB Diff Download File
test_switch.py 6404.6.6 12 years ago Vincent Ladeuil Use idioms coherently and add comments to make the 19.9 KB Diff Download File
test_tags.py 6366.1.4 12 years ago Jelmer Vernooij Test connection count calls for most blackbox comm 19.4 KB Diff Download File
test_testament.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 1.7 KB Diff Download File
test_too_much.py 6165.4.8 13 years ago Jelmer Vernooij merge avoid-revision-history. 22.3 KB Diff Download File
test_uncommit.py 6366.1.4 12 years ago Jelmer Vernooij Test connection count calls for most blackbox comm 11 KB Diff Download File
test_unknowns.py 5283.4.5 14 years ago Martin Pool Update remaining subclasses of ExternalBase 2 KB Diff Download File
test_update.py 6178.1.3 13 years ago Martin Pool 'update' with no arguments from a tree subdirector 17.9 KB Diff Download File
test_upgrade.py 6213.1.25 12 years ago Jelmer Vernooij Merge common-bzrdir-component. 11.4 KB Diff Download File
test_version.py 5853.1.2 13 years ago Vincent Ladeuil Prepare merging 2.3.3 into trunk 4.9 KB Diff Download File
test_version_info.py 6406.1.3 12 years ago Jelmer Vernooij Fix version_info tree. 6.8 KB Diff Download File
test_versioning.py 6423.1.1 12 years ago Vincent Ladeuil Cleanup old blackbox tests and then some. Remove o 6.1 KB Diff Download File
test_view.py 5546.1.1 13 years ago Andrew Bennetts Remove RepositoryFormatCHK1 and RepositoryFormatCH 4.9 KB Diff Download File
test_whoami.py 6404.6.7 12 years ago Vincent Ladeuil Change set/remove to require a lock for the branch 6.3 KB Diff Download File