darcs

Issue 70 setpref does not coalesce changes

Title setpref does not coalesce changes
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, jonathon, kowey, thorkilnaur, tommy
Assigned To
Topics Patch

Created on 2005-12-22.07:50:57 by jonathon, last changed 2009-08-27.13:46:37 by admin.

Messages
msg255 (view) Author: jonathon Date: 2005-12-22.07:50:56
'darcs setpref' does not coalesce changes in the pending patch. As a
counter-example, 'darcs mv' does.

Example:
% darcs mv a b ; darcs mv b c
% darcs setpref binariesfile bin-a
Changing value of binariesfile from 'old' to 'bin-a'
% darcs setpref binariesfile bin-b
Changing value of binariesfile from 'bin-a' to 'bin-b'
% darcs whatsnew
move ./a ./c
changepref binariesfile
old
bin-a
changepref binariesfile
bin-a
bin-b

The two moves were merged into one, but the changeprefs were not.

The desired output would be:
% darcs whatsnew
move ./a ./c
changepref binariesfile
old
bin-b
msg262 (view) Author: droundy Date: 2005-12-22.14:24:12
This would be a nice thing to fix.  The function is (actually quite
intuitively) called 'coalesce'...
-- 
David Roundy
http://www.darcs.net
msg286 (view) Author: kowey Date: 2005-12-31.10:23:41
Patch sent to list.  See also RT #349.
msg515 (view) Author: tommy Date: 2006-02-28.11:47:43
fixed in 1.0.6
Sat Dec 31 00:08:42 CET 2005  Eric Kow <eric.kow@gmail.com>
  * Coalesce setpref (issue70 and RT #349)
History
Date User Action Args
2005-12-22 07:50:57jonathoncreate
2005-12-22 14:24:12droundysetstatus: unread -> unknown
nosy: droundy, tommy, jonathon
messages: + msg262
2005-12-31 10:23:42koweysetnosy: + kowey
messages: + msg286
2005-12-31 16:29:51droundysettopic: + Patch
nosy: droundy, tommy, kowey, jonathon
2006-01-14 09:30:52koweysetstatus: unknown -> resolved-in-unstable
nosy: droundy, tommy, kowey, jonathon
assignedto: kowey ->
2006-02-28 11:47:46tommysetstatus: resolved-in-unstable -> resolved
nosy: droundy, tommy, kowey, jonathon
messages: + msg515
2009-08-06 17:46:33adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, beschmi, thorkilnaur, - droundy, jonathon
2009-08-06 20:47:36adminsetnosy: - beschmi
2009-08-10 22:16:17adminsetnosy: + jonathon, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:58:21adminsetnosy: + darcs-devel, - simon
2009-08-27 13:46:37adminsetnosy: tommy, kowey, darcs-devel, jonathon, thorkilnaur, dmitry.kurochkin