[darcs-devel] [issue1325] darcs does not forget an adddir if you delete the directory before recording it

Eric Kow bugs at darcs.net
Thu Aug 9 15:27:45 UTC 2012


Eric Kow <kowey at darcs.net> added the comment:

Huh! This sounds awfully similar to issue1316.  Perhaps it's not so 
much a problem with the pending patch itself, but our look-for-adds 
stuff?

1. When you darcs add, you put the adddir in pending
2. When you record, you then remove said addir from pending (because 
you are transferring it to the newly created patch)

So if you delete the directory before recording, you never get around 
to doing this record.

Would the right fix then be to introduce a pending filtering step that 
verifies that the desired pending patches still exist in the pristine-
to-working diff?  That sort of thing sounds eminently doable.

----------
status: needs-reproduction -> needs-diagnosis/design

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1325>
__________________________________


More information about the darcs-devel mailing list