darcs

Issue 1926 amend-record ignores --index

Title amend-record ignores --index
Priority bug Status given-up
Milestone Resolved in
Superseder Nosy List dmitry.kurochkin, iago
Assigned To
Topics Matchers

Created on 2010-08-19.23:03:24 by iago, last changed 2017-07-31.00:04:53 by gh.

Files
File name Uploaded Type Edit Remove
unnamed iago, 2010-08-19.23:03:23 text/html
unnamed iago, 2010-08-28.16:09:03 text/html
Messages
msg12239 (view) Author: iago Date: 2010-08-19.23:03:23
Trying to amend a patch to change its name with

> darcs amend-record --index 7 -m "A new patch-name"

works as if --index were ignored (the same for --index=7 and -n 7).
Attachments
msg12297 (view) Author: kowey Date: 2010-08-25.16:30:31
Hi Iago,

Any luck making a test case for this?  Or would you like somebody else 
to take over?

Once you have the test case, it'd be great if you could try with the 
beta for Darcs 2.5 (cabal install darcs-beta), but I'd get the test case 
first to be sure :-)

BTS training: keep in mind the (i) regression (ii) test case (iii) 
diagnosis checklist.  Here, (iii) should be fairly trivial, cf 
issue1290, which I'm hoping but not counting on being the same bug.
msg12351 (view) Author: iago Date: 2010-08-28.16:09:03
In my opinion as a darcs user, if this problem won't be solved for 2.5
release --index should be removed from the list of amend-record supported
arguments.

If finally some rewriting of Darcs.SelectChanges is done in order to support
--index, it would be a feature in a future release.

On Wed, Aug 25, 2010 at 6:30 PM, Eric Kow <bugs@darcs.net> wrote:

>
> Eric Kow <kowey@darcs.net> added the comment:
>
> Hi Iago,
>
> Any luck making a test case for this?  Or would you like somebody else
> to take over?
>
> Once you have the test case, it'd be great if you could try with the
> beta for Darcs 2.5 (cabal install darcs-beta), but I'd get the test case
> first to be sure :-)
>
> BTS training: keep in mind the (i) regression (ii) test case (iii)
> diagnosis checklist.  Here, (iii) should be fairly trivial, cf
> issue1290, which I'm hoping but not counting on being the same bug.
>
> ----------
> priority:  -> bug
> status: unknown -> need-action
> topic: +Matchers
>
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue1926>
> __________________________________
>
Attachments
History
Date User Action Args
2010-08-19 23:03:24iagocreate
2010-08-25 16:30:33koweysetpriority: bug
status: unknown -> needs-reproduction
topic: + Matchers
messages: + msg12297
2010-08-28 16:09:04iagosetfiles: + unnamed
messages: + msg12351
2017-07-31 00:04:53ghsetstatus: needs-reproduction -> given-up