[darcs-users] more hunk editing feedback (was: Re: darcs 2.4 beta 3release)

Mark Stosberg mark at summersault.com
Thu Jan 28 14:42:20 UTC 2010


> > The first thing I tried to do with it was a common task: get rid of
> > an extra debugging line. So, I used "e", removed the line and quit
> > the editor. It was like nothing happened! There was no option to
> > select a patch that deleted the line.   
> 
> I'm surprised by that. I would definitely expect this to work and it's a
> normal use case I'm sure I've done myself. Could you give more details
> of the patch you were trying to edit and what precisely you did?

Ganesh,

I was able to reproduce this in a simple repo, by creating a change
that added a single line, and then using "darcs record" and "e" to
delete the line:

darcs init
# Add 3 lines
vim t.txt
darcs record .
darcs add t.txt
darcs record -am 'initial add'
# Add a new line in the middle
vim t.txt
darcs record

    Mark


More information about the darcs-users mailing list