New submission from Nicolas Pouillard <[EMAIL PROTECTED]>:

This tests leads to a patch with two consecutive addfile ./f, then one cannot
unrecord the patch.

darcs 1 and 2 are affected, in both old-fashioned and hashed formats.

$ ./test6.sh
Finished recording patch 'p1'
Tue Jan 15 14:50:32 CET 2008  [EMAIL PROTECTED]
  * p1
Shall I amend this patch? [yNvpxq], or ? for help: 
hunk ./f 1
-foo
Shall I add this change? (1/?)  [ynWsfvpxdaqjkc], or ? for help: 
rmfile ./f
Shall I add this change? (2/?)  [ynWsfvpxdaqjkc], or ? for help: 
Finished amending patch:
Tue Jan 15 14:50:32 CET 2008  [EMAIL PROTECTED]
  * p1
Tue Jan 15 14:50:32 CET 2008  [EMAIL PROTECTED]
  * p1
    addfile ./f
show the buggy pending
addfile ./f
Tue Jan 15 14:50:32 CET 2008  [EMAIL PROTECTED]
  * p1
Shall I amend this patch? [yNvpxq], or ? for help: 
Finished amending patch:
Tue Jan 15 14:50:32 CET 2008  [EMAIL PROTECTED]
  * p1
Tue Jan 15 14:50:32 CET 2008  [EMAIL PROTECTED]
  * p1
    {
    addfile ./f
    addfile ./f
    hunk ./f 1
    +bar
    }

----------
files: test6.sh
messages: 2518
nosy: beschmi, droundy, ertai, kowey, tommy
priority: urgent
status: unread
title: Another issue with amend-record --look-for-adds

__________________________________
Darcs bug tracker <[EMAIL PROTECTED]>
<http://bugs.darcs.net/issue588>
__________________________________

Attachment: test6.sh
Description: Binary data

_______________________________________________
darcs-devel mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-devel

Reply via email to