darcs

Issue 262 mv then add bug?

Title mv then add bug?
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List beza1e1, darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tommy
Assigned To
Topics

Created on 2006-09-06.21:11:43 by beza1e1, last changed 2009-08-27.13:49:32 by admin.

Messages
msg975 (view) Author: beza1e1 Date: 2006-09-06.21:11:38
Darcs just told me to report a bug:

$ darcs add pyweave
Yikes, pending has conflicts!
darcs: bug in darcs!
There was an attempt to write an invalid pending!
...

The Problem seems to be with:
$ darcs mv x y
$ darcs record
$ darcs add x

I expected the record in between avoids any conflict. After an optimize
the add succeeds.

Here is more data:

$ cat _darcs/patches/pending_buggy
{
adddir ./scripts
move ./pyweave ./scripts/pyweave
adddir ./pyweave
addfile ./CHANGELOG
addfile ./INSTALL
addfile ./LICENCE
addfile ./README
addfile ./scripts/pyweave/__init__.py
addfile ./tests.py
}

$ darcs --exact-version
darcs compiled on Jan 17 2006, at 03:05:19
unknown
(i use the Ubuntu Dapper version)
msg1337 (view) Author: droundy Date: 2006-12-17.22:12:29
I haven't checked darcs-stable, but this bug no longer exists in darcs unstable
(or I misunderstood your directions as to how to reproduce it).

David
msg1355 (view) Author: tommy Date: 2006-12-18.18:07:41
I can't reproduce it with 1.0.8 or currenet darcs-stable either.
msg1781 (view) Author: tommy Date: 2007-06-29.19:52:21
likely fixed in 1.0.9 (or 1.0.8)
History
Date User Action Args
2006-09-06 21:11:43beza1e1create
2006-12-17 22:12:30droundysetstatus: unread -> unknown
nosy: + kowey
messages: + msg1337
2006-12-17 22:13:09droundysetstatus: unknown -> resolved-in-unstable
nosy: droundy, tommy, kowey, beza1e1
2006-12-18 18:07:44tommysetnosy: droundy, tommy, kowey, beza1e1
messages: + msg1355
2007-06-29 19:52:21tommysetstatus: resolved-in-unstable -> resolved
nosy: + beschmi
messages: + msg1781
2009-08-06 17:49:43adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, beza1e1
2009-08-06 20:51:46adminsetnosy: - beschmi
2009-08-10 21:55:23adminsetnosy: + beza1e1, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 18:01:22adminsetnosy: + darcs-devel, - simon
2009-08-27 13:49:32adminsetnosy: tommy, kowey, darcs-devel, beza1e1, thorkilnaur, dmitry.kurochkin