Comment 18 for bug 525571

Revision history for this message
Tim Penhey (thumper) wrote : Re: [Bug 525571] Re: No locking when updating files in ~/.bazaar

On Mon, 28 Jun 2010 13:01:10 you wrote:
> Vincent, the corruption isn't a damaged file, its a file without
> content that another concurrent writer added.

Actually I think it is a damaged file as the config reader cannot read the new
one.

Observations have shown it intermingles the lines, so instead of having:

[heading1]
value=some value
[heading2]
value=some other value

we end up with

[heading1]
[heading2]
value=some value
value=some other value

and the reader blows up with duplicate keys.