[darcs-devel] [issue262] mv then add bug?

Andreas Zwinkau bugs at darcs.net
Wed Sep 6 14:11:43 PDT 2006


New submission from Andreas Zwinkau <beza1e1 at web.de>:

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)

----------
messages: 975
nosy: beza1e1, droundy, tommy
status: unread
title: mv then add bug?

____________________________________
Darcs issue tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue262>
____________________________________




More information about the darcs-devel mailing list