[darcs-devel] [issue588] Another issue with amend-record --look-for-adds

Nicolas Pouillard bugs at darcs.net
Tue Jan 15 13:56:40 UTC 2008


New submission from Nicolas Pouillard <nicolas.pouillard at gmail.com>:

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  nicolas.pouillard at gmail.com
  * 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  nicolas.pouillard at gmail.com
  * p1
Tue Jan 15 14:50:32 CET 2008  nicolas.pouillard at gmail.com
  * p1
    addfile ./f
show the buggy pending
addfile ./f
Tue Jan 15 14:50:32 CET 2008  nicolas.pouillard at gmail.com
  * p1
Shall I amend this patch? [yNvpxq], or ? for help: 
Finished amending patch:
Tue Jan 15 14:50:32 CET 2008  nicolas.pouillard at gmail.com
  * p1
Tue Jan 15 14:50:32 CET 2008  nicolas.pouillard at gmail.com
  * 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 <bugs at darcs.net>
<http://bugs.darcs.net/issue588>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test6.sh
Type: application/octet-stream
Size: 665 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20080115/9a068e96/attachment.obj 


More information about the darcs-devel mailing list