-
Committer:
John Arbash Meinel
-
Date:
2007-03-21 18:15:57 UTC
-
mto:
This revision was merged to the branch mainline in
revision
2373.
-
Revision ID:
john@arbash-meinel.com-20070321181557-09nrfljkinlmyjmp
we don't need _inventory_fp.
The bug is that calling self.read_working_inventory() acquires a read lock,
which has a side effect of reading the working inventory,
and then it reads the working inventory,
and then because the overall tree is not locked (this is all happening in WorkingTree.__init__)
all of this is being thrown away.
So we end up with 2 inventory reads which will be completely thrown away.