darcs

Issue 2158 Pending adddir doesn't cause complaints if dir is rm'd in working

Title Pending adddir doesn't cause complaints if dir is rm'd in working
Priority Status unknown
Milestone Resolved in
Superseder Nosy List owst
Assigned To
Topics

Created on 2012-03-15.11:50:07 by owst, last changed 2012-03-15.11:50:07 by owst.

Messages
msg15327 (view) Author: owst Date: 2012-03-15.11:50:06
1. What darcs version are you using? (Try: darcs --exact-version)

2.9.1 (+ 47 patches)

2. What operating system are you running?

Linux x86_64

3. What were you doing? (eg. what darcs commands)

$ mkdir foodir
$ darcs add foodir
$ darcs wh
adddir ./foodir

$ rmdir foodir
$ darcs wh
No changes!

$ darcs rev
There are no changes to revert!
Finished reverting.

$ cat _darcs/patches/pending
adddir ./foodir

$ darcs remove foodir

$ cat _darcs/patches/pending
{
}

4. What behaviour were you expecting?

That whatsnew would notice that I've got an adddir in pending, but have
removed the dir in working. (Similarly for revert)

5. What went wrong?

Darcs kept the adddir in pending, until I explicitly removed it with
`darcs remove`.

Sounds similar to this:
http://bugs.darcs.net/issue1325
History
Date User Action Args
2012-03-15 11:50:07owstcreate