[darcs-devel] [issue1327] patches to commute_to_end does not commutex (1) at src/Darcs/Patch/Depends.hs:452
Aaron Kaplan
bugs at darcs.net
Fri Jan 23 15:12:53 UTC 2009
New submission from Aaron Kaplan <dk59gjhnd at aaronkaplan.info>:
The setup:
mkdir repo1
cd repo1
darcs init
echo fileA version 1 > fileA
echo fileB version 1 > fileB
darcs add fileA fileB
darcs record --all -m "Add fileA and fileB"
echo fileA version 2 > fileA
sleep 2
darcs record --all -m "Modify fileA"
cd ..
darcs get repo1 repo2
cd repo2
darcs obliterate -p "Modify fileA" --all
darcs unrecord -p "Add fileA and fileB" --all
darcs record --all fileA -m "Add just fileA"
cd ../repo1
darcs pull --all ../repo2
Now the last command I couldn't figure out how to specify non-interactively, so
here's the transcript:
me> darcs obliterate -p "Add fileA and fileB"
Fri Jan 23 15:41:06 CET 2009 foo at bar
* Modify fileA
Shall I obliterate this patch? (1/2) [ynWsfvplxdaqjk], or ? for help: n
Fri Jan 23 15:40:04 CET 2009 foo at bar
* Add fileA and fileB
Shall I obliterate this patch? (2/2) [ynWvplxdaqjk], or ? for help: y
darcs: bug in darcs!
patches to commute_to_end does not commutex (1) at
src/Darcs/Patch/Depends.hs:452 compiled Jan 23 2009 11:19:30
me> darcs --exact-version
darcs compiled on Jan 23 2009, at 11:22:33
# configured Thu Jan 15 14:31:24 PST 2009
./configure /usr/local/share/config.site /usr/local/etc/config.site
Context:
[TAG 2.2.0
Petr Rockai <me at mornfall.net>**20090115150916]
Note that if I run the setup from a script rather than typing the commands by
hand in a terminal, and I omit the "sleep" after "echo fileA version 2 > fileA",
the subsequent record says "No changes!" even though there really are some. Is
this a known problem or should I open a separate bug for that?
----------
messages: 7163
nosy: Aaron, dmitry.kurochkin, kowey, simon, thorkilnaur
priority: bug
status: unread
title: patches to commute_to_end does not commutex (1) at src/Darcs/Patch/Depends.hs:452
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1327>
__________________________________
More information about the darcs-devel
mailing list