[darcs-devel] Re: darcs patch: make dangers and recommended use of "Amend" clearer in...

Tommy Pettersson ptp at lysator.liu.se
Fri Dec 16 06:55:30 PST 2005


On Thu, Dec 15, 2005 at 05:31:12PM +0100, Juliusz Chroboczek wrote:
> >> I have not checked that this faked race condition can happen
> >> in reality, but since Pull doesn't lock the repo, "anything"
> >> could happen if the repo is altered concurrently.
> 
> I'm surprised.  I was convinced that amend is the equivalent of
> unrecord followed with record.

Yes.  It's the unrecord part that causes the problem.  It,
and unpull exposes the same "risk" as amend.


-- 
Tommy Pettersson <ptp at lysator.liu.se>




More information about the darcs-devel mailing list