/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
..
binary-after-normal.patch 4634.98.1 16 years ago Aaron Bentley Improve patch binary section handling. 181 bytes Diff Download File
binary.patch 4634.80.2 16 years ago Aaron Bentley Ensure patch roundtripping. 181 bytes Diff Download File
diff 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 45.4 KB Diff Download File
diff-2 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 270 bytes Diff Download File
diff-3 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 204 bytes Diff Download File
diff-4 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 223 bytes Diff Download File
diff-5 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 4.9 KB Diff Download File
diff-6 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18.7 KB Diff Download File
diff-7 3873.1.6 16 years ago Benoît Pierre OK, so now patches should handle '\ No newline at 204 bytes Diff Download File
insert_top.patch 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 130 bytes Diff Download File
mod 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 91.9 KB Diff Download File
mod-2 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18.1 KB Diff Download File
mod-3 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18.1 KB Diff Download File
mod-4 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18 KB Diff Download File
mod-5 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 13.5 KB Diff Download File
mod-6 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 22 bytes Diff Download File
mod-7 3873.1.6 16 years ago Benoît Pierre OK, so now patches should handle '\ No newline at 17 bytes Diff Download File
orig 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 97.9 KB Diff Download File
orig-2 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18 KB Diff Download File
orig-3 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18.1 KB Diff Download File
orig-4 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18 KB Diff Download File
orig-5 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18 KB Diff Download File
orig-6 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18 KB Diff Download File
orig-7 3873.1.6 16 years ago Benoît Pierre OK, so now patches should handle '\ No newline at 22 bytes Diff Download File
patchtext.patch 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 988 bytes Diff Download File