Rev 2000: All WorkingTree methods which write to the tree, but not to the branch in file:///home/robertc/source/baz/tree-lock/

Robert Collins robertc at robertcollins.net
Mon Sep 11 00:42:20 BST 2006


------------------------------------------------------------
revno: 2000
revision-id: robertc at robertcollins.net-20060910234217-0ae24d8e666d60d6
parent: robertc at robertcollins.net-20060910225337-eeb90bb6ebad85d0
committer: Robert Collins <robertc at robertcollins.net>
branch nick: convert-tree-decorators
timestamp: Mon 2006-09-11 09:42:17 +1000
message:
  All WorkingTree methods which write to the tree, but not to the branch
  have been converted to use ``needs_tree_write_lock`` rather than 
  ``needs_write_lock``. Also converted is the revert, conflicts and tree
  transform modules. This provides a modest performance improvement on 
  metadir style trees, due to the reduce lock-acquisition, and a more
  significant performance improvement on lightweight checkouts from 
  remote branches, where trivial operations used to pay a significant 
  penalty. It also provides the basis for allowing readonly checkouts.
  (Robert Collins)
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/conflicts.py            conflicts.py-20051001061850-78ef952ba63d2b42
  bzrlib/tests/test_merge_core.py test_merge_core.py-20050824132511-eb99b23a0eec641b
  bzrlib/transform.py            transform.py-20060105172343-dd99e54394d91687
  bzrlib/workingtree.py          workingtree.py-20050511021032-29b6ec0a681e02e3



More information about the bazaar-commits mailing list