lock free dirstate
Robert Collins
robertc at robertcollins.net
Tue Sep 29 00:35:36 BST 2009
On Mon, 2009-09-28 at 19:22 -0400, John Szakmeister wrote:
>
> > ^- Presumably you don't need to 'mv foo foo.old' on POSIX platforms?
>
> Or maybe leave it as is, if the goal is to do a better job on remote
> filesystems? For instance, if I mount my Windows share under my Linux
> box?
Its an OS thing [for the most part - definitely as far as 'local'
resources like working trees]. On linux a VFAT file system 'behaves' as
though mv foo bar works when bar exists. It actually isn't, so its
possible for power failures to leave the disk messy. I'm not 100% sure
whether a SMB mount can do 'mv foo bar' when bar exists.
Anyhow, its moot, as I am depending on 'mv missing-file new-file'
erroring to enforce serialisation on the data structure.
-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090929/444be615/attachment.pgp
More information about the bazaar
mailing list