RFC: dirstate & locks

John Arbash Meinel john at arbash-meinel.com
Sat Aug 16 00:34:32 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
> On Fri, 2008-08-15 at 08:25 -0500, John Arbash Meinel wrote:
>>> I don't like this because it doesn't map well to what users want to
>> do -
>>> and all commands that need iter_changes to work would have to be
>>> modified to do this - ls, diff, status are only the obvious ones.
>>>
>>>
>>> -Rob
>> Um... they already do this, well diff and status do. It is part of the
>> unlock function already, IIRC.
> 
> by 'this' I meant 'take out a write lock'
> 
> -Rob

I'm saying that diff and status already take out a dirstate-write-lock,
which is not very far removed from taking out a WT-level write lock.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkimEogACgkQJdeBCYSNAAOI1gCfa9ogP1nQFR3BJDZlCRtKFouJ
bmoAoKlyYv67RxFnfJvJp7UitKmi2eYe
=nZSH
-----END PGP SIGNATURE-----



More information about the bazaar mailing list