~bzr-pqm/bzr/bzr.dev

  • 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
..
apport 4797.33.16 14 years ago Robert Collins Update bugfix for 528114 to trunk. Diff
bzrlib 1185.1.29 18 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
contrib 1185.1.29 18 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
doc 1185.1.29 18 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
man1 2425.1.1 17 years ago Robert Collins ``make docs`` now creates a man page at ``man1/bzr Diff
po 5830.2.1 13 years ago INADA Naoki Add update-pot command to Makefile and tools/bzrge Diff
tools 1185.1.29 18 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
.bzrignore 5462.5.3 13 years ago Andrew Bennetts Keep docs-plain working. 1.2 KB Diff Download File
.rsyncexclude 1185.33.36 18 years ago Martin Pool Exclude more files from dumb-rsync upload 203 bytes Diff Download File
.testr.conf 5574.2.2 13 years ago Jelmer Vernooij Don't use no-plugins. 126 bytes Diff Download File
BRANCH.TODO 5340.8.6 14 years ago Marius Kruger * Update documentation * add NEWS 150 bytes Diff Download File
File bzr 6379.6.3 12 years ago Jelmer Vernooij Use absolute_import. 5.6 KB Diff Download File
bzr.ico 3688.3.3 15 years ago John Arbash Meinel An updated transparent icon for bzr. 12.7 KB Diff Download File
COPYING.txt 1861.2.9 18 years ago Alexander Belchenko rename gpl.txt => COPYING.txt 17.5 KB Diff Download File
INSTALL 5278.1.5 14 years ago Martin Pool Correct more sloppy use of the term 'Linux' 1.4 KB Diff Download File
Makefile 6351.2.2 12 years ago Martin Packman Use --include-duplicates for make update-pot which 15.6 KB Diff Download File
MANIFEST.in 4634.125.2 14 years ago John Arbash Meinel Update the MANIFEST.in file. 118 bytes Diff Download File
NEWS 5462.5.1 13 years ago Andrew Bennetts Split NEWS into per-release doc/en/release-notes/b 141 bytes Diff Download File
profile_imports.py 5848.2.1 13 years ago John Arbash Meinel Break compatibility with python <2.6. This includ 6 KB Diff Download File
README 5447.2.1 13 years ago Vincent Ladeuil Fix some typos and propose a release planning. 2.2 KB Diff Download File
README_BDIST_RPM 4634.125.1 14 years ago Joe Julian Added MANIFEST.in to allow bdist_rpm to have all t 397 bytes Diff Download File
File setup.py 6318.1.1 12 years ago Martin Packman Require the dulwich package when using py2exe with 29.5 KB Diff Download File
TODO 4634.146.5 14 years ago Danny van Heumen Reverted now-useless TODO list. 115 bytes Diff Download File