[darcs-users] Dependencies among setpref changes to the same option

David Roundy droundy at darcs.net
Sat Apr 16 13:46:24 UTC 2005


(Copying from my response to the bug report...)

On Fri, Apr 15, 2005 at 02:05:07PM -0400, via RT wrote:
> I noticed that darcs will happily allow me to perform any number
> of successive "setpref" operations against the same option and commit
> any subset of them with "record". The resulting patch set has some
> strange possibilities for "unrecord" and "revert".

Indeed, setprefs are not really versioned, which can lead to some
weirdnesses. They behave more as a suggestion than a versioned change.
This was intended as a way to avoid dealing with conflicts in setprefs
settings. I don't really care for how the setprefs work. It's pretty
ugly, but on the other hand, I don't think it's a major problem either, and
adding complicated code to tell the user about conflicts in setprefs
doesn't seem particularly appealing.
-- 
David Roundy
http://www.darcs.net




More information about the darcs-users mailing list