release status - land new features before monday

John Arbash Meinel john at arbash-meinel.com
Wed Apr 11 16:07:10 BST 2007


Alexander Belchenko wrote:

...

> 
> I don't know how you are guys, but I'm still depressed by new dirstate
> format: it's completely unusable on win98,
> it has many bugs related to add/move files in working tree,
> and it every time want upgrade, even if I don't want this.
> 
> /me want back to knits+tags.
> 
> [µ]

We are still using knits :)

I think Matthew Fuller was working on a patch to allow you to disable
the upgrade request.

Also, win98 really isn't a "supported" platform because of problems like
this... But you could actually just disable the OS lock if you wanted.
You could make the read lock a no-op, and just take out a LockFile on
write locks.

We are already guarding against multiple writers because we are taking
out a LockDir on .bzr/checkout/lock, so we don't strictly need an OS
lock on .bzr/checkout/dirstate.

At this point, locking 'dirstate' is more of future proofing, because we
eventually will try to read just portions of the file, rather than
always reading the whole thing. And that starts to get dicey if the file
might be changing underneath you.

So we could just make it so that on win98 we:

1) Don't lock for reading
2) Always read the whole file (disable partial reads).

That would probably get things working without running into any data
loss problems.

John
=:->



More information about the bazaar mailing list