/brz/remove-bazaar

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

  • Committer: Vincent Ladeuil
  • Date: 2012-01-05 14:26:58 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20120105142658-vek3v6pzlxb751s2
Tests passing for a first rough version of a cached branch config store. The changes here are too invasive and several parallel proposals have been made. 

@only_raises is evil and gave a hard time since any exception during
save_changes() was swallowed.

Possible improvements: 

- add some needs_write_lock decorators to crucial
  methods (_set_config_location ?) but keep locking the branch at higher levels

- decorate branch.unlock to call stack.save if last_lock() it True
  outside of @only_raises scope (evil decorator)

- add @needs_write_lock to stack.set and stack.remove (will probably get
  rid of most testing issues) we probably need a specialized decorator
  that can relay to the store and from there to the branch or whatever is
  needed. This will also helps bzr config to get it right. The
  get_mutable_section trick should not be needed anymore either.

- decorate branch.unlock to call stack.save if last_lock() it True outside
  of @only_raises scope (evil decorator)
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 6205.2.1 14 years ago Jelmer Vernooij Move signature tests to bt.per_repository. 5.3 KB Diff Download File
test_add_fallback_repository.py 6015.29.1 14 years ago John Arbash Meinel Merge 2.3 into 2.4, and fix up the conflict for re 2.5 KB Diff Download File
test_break_lock.py 4988.10.5 15 years ago John Arbash Meinel Merge bzr.dev 5021 to resolve NEWS 1.8 KB Diff Download File
test_check.py 6351.3.3 14 years ago Jelmer Vernooij Convert more stuff to use config stacks. 1.7 KB Diff Download File
test_commit_builder.py 6362.5.5 14 years ago Jelmer Vernooij Don't access revision tree before commit. 61.9 KB Diff Download File
test_fetch.py 6205.3.1 14 years ago Jelmer Vernooij Add ControlDirFormat.supports_transport. 16 KB Diff Download File
test_file_graph.py 5815.5.8 14 years ago Jelmer Vernooij Use traditional (fileid, revision) entries in file 1.4 KB Diff Download File
test_get_parent_map.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 2.7 KB Diff Download File
test_has_revisions.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.6 KB Diff Download File
test_has_same_location.py 6083.1.1 14 years ago Jelmer Vernooij Use get_transport_from_{url,path} in more places. 5.4 KB Diff Download File
test_iter_reverse_revision_history.py 6127.1.3 14 years ago Jelmer Vernooij Skip tests that involve ghosts on formats that don 6.8 KB Diff Download File
test_locking.py 5865.1.1 14 years ago Jelmer Vernooij add tests for Repository.is_locked. 1.8 KB Diff Download File
test_pack.py 4484.1.1 16 years ago Jonathan Lange Merge the 1.16.1 changes back into trunk. 1.4 KB Diff Download File
test_reconcile.py 5802.2.1 14 years ago Jelmer Vernooij Move some vf specific tests to bt.per_repository_v 1.1 KB Diff Download File
test_refresh_data.py 6060.5.3 14 years ago Jelmer Vernooij Move more tests. 2 KB Diff Download File
test_repository.py 6213.1.25 14 years ago Jelmer Vernooij Merge common-bzrdir-component. 43.4 KB Diff Download File
test_revision.py 6165.4.8 14 years ago Jelmer Vernooij merge avoid-revision-history. 4.3 KB Diff Download File
test_signatures.py 6257.3.2 14 years ago Jelmer Vernooij Merge bzr.dev. 5.7 KB Diff Download File
test_statistics.py 6127.1.8 14 years ago Jelmer Vernooij Allow extra data in gather_stats(). 2.8 KB Diff Download File
test_write_group.py 5844.2.2 14 years ago Jelmer Vernooij Move vf-specific write group tests to per_reposito 4.8 KB Diff Download File