calling WorkingTree.path2id resets ignore list cache
Bug #785671 reported by
Jelmer Vernooij
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
Calling WorkingTree.path2id on a write locked tree will reset the ignore list cache; it calls lock_read() / unlock(), and unlock() will call _cleanup().
I haven't investigated further why this happens yet.
Related branches
lp:~jelmer/bzr/wt-lock-ignores
- John A Meinel: Approve
-
Diff: 78 lines (+23/-8)4 files modifiedbzrlib/plugins/weave_fmt/workingtree.py (+2/-3)
bzrlib/tests/test_workingtree_4.py (+16/-0)
bzrlib/workingtree_3.py (+2/-2)
bzrlib/workingtree_4.py (+3/-3)
tags: | added: locking performance workingtree |
Changed in bzr: | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
status: | Confirmed → In Progress |
Changed in bzr: | |
status: | In Progress → Fix Released |
To post a comment you must log in.