Rev 2003: New method ``WorkingTree.flush()`` which will write the current memory in file:///home/robertc/source/baz/test-performance/

Robert Collins robertc at robertcollins.net
Thu Oct 5 08:35:00 BST 2006


------------------------------------------------------------
revno: 2003
revision-id: robertc at robertcollins.net-20061005073458-f2a32fb8a43c0c34
parent: robertc at robertcollins.net-20061004074228-8ac10a23b9713335
committer: Robert Collins <robertc at robertcollins.net>
branch nick: init-tree-overhead
timestamp: Thu 2006-10-05 17:34:58 +1000
message:
  New method ``WorkingTree.flush()`` which will write the current memory
  inventory out to disk. At the same time, read_working_inventory will
  no longer trash the current tree inventory if it has been modified within
  the current lock, and the tree will now ``flush()`` automatically on
  ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
  advantage of this functionality. (Robert Collins, John Arbash Meinel)
added:
  bzrlib/tests/workingtree_implementations/test_flush.py test_flush.py-20061005073432-585uyj0sua6r7i9v-1
  bzrlib/tests/workingtree_implementations/test_read_working_inventory.py test_read_working_in-20061005073432-585uyj0sua6r7i9v-2
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/errors.py               errors.py-20050309040759-20512168c4e14fbd
  bzrlib/tests/test_errors.py    test_errors.py-20060210110251-41aba2deddf936a8
  bzrlib/tests/workingtree_implementations/__init__.py __init__.py-20060203003124-b2aa5aca21a8bfad
  bzrlib/tests/workingtree_implementations/test_locking.py test_locking.py-20060707151933-tav3o2hpibwi53u4-3
  bzrlib/tests/workingtree_implementations/test_set_root_id.py test_set_root_id.py-20061004073850-0r1c7qikmnkb8m9k-1
  bzrlib/workingtree.py          workingtree.py-20050511021032-29b6ec0a681e02e3



More information about the bazaar-commits mailing list