RFC: dirstate & locks
John Arbash Meinel
john at arbash-meinel.com
Fri Aug 15 14:25:57 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robert Collins wrote:
>>> I think what I proposed has no problems for windows or linux of this
>>> nature, only a 'when do we delete things' problem, and thats solvable
>>> using one of a number of heuristics if the basic thing sounds ok.
>>>
>>> -Rob
>> I would just have "bzr status" take out a real write lock (since that is
>> basically what it is half-doing now) and check that the file isn't
>> modified before it writes its data out.
>
> 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.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkilg+UACgkQJdeBCYSNAAPMOwCaA97WgXIOS185Yq0uCK6xygj4
neAAnRrfGwr+poe33A3xrFdeB+Xnprr/
=z9GZ
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list