Dirstate and gtk
James Westby
jw+debian at jameswestby.net
Tue Mar 6 19:11:34 GMT 2007
I have just run in to another problem with dirstate trees.
Trying gannotate on such a tree dies with a locking problem. This is the
second issue that I have hit with locking issues in the new format and
external tools. (The first was the vim plugin that was posted to the
list recently).
The fix is always relatively easy (complicated here because the call to
annotate_iter is done from inside a generator, and so a finally block
can't be used to unlock the tree), in that it just requires the tree to
be explicitly locked before certain things are called, usually something
that uses .inventory.
Is there anyway these problems can be mitigated?
Also, bzr help upgrade now says
--default New in 0.15: Fast local operations. Compatible with
bzr 0.8 and above when accessed over the network.
--dirstate New in 0.15: Fast local operations. Compatible with
bzr 0.8 and above when accessed over the network.
but shouldn't --default say something like, use the default format for your
version of bzr, currently this is --dirstate.
Thanks,
James
P.S.
The format marker changes that Robert referred to is to change
.bzr/checkout/format
to read
Bazaar Working Tree Format 4 (bzr 0.15)
I wasn't using the new repository or branch formats, so I can't give
exact instructions, but similar things will apply.
You need to do this if you upgraded to the new formats, and know you get
unkown format errors with the latest dirstate HEAD.
--
James Westby -- GPG Key ID: B577FE13 -- http://jameswestby.net/
seccure key - (3+)k7|M*edCX/.A:n*N!>|&7U.L#9E)Tu)T0>AM - secp256r1/nistp256
More information about the bazaar
mailing list