darcs

Issue 2131 Enable hunk editing when reverting

Title Enable hunk editing when reverting
Priority feature Status resolved
Milestone Resolved in 2.8.0
Superseder Nosy List josef.svenningsson
Assigned To
Topics UI

Created on 2012-01-16.17:07:04 by josef.svenningsson, last changed 2012-01-17.09:47:59 by josef.svenningsson.

Messages
msg15026 (view) Author: josef.svenningsson Date: 2012-01-16.17:07:03
Just know I had a use case where I wanted to revert some code, but the 
hunk I was presented with contained stuff that I didn't want to revert. 
So I pressed 'e' and was told that that was an invalid response. I'd 
like to be able to edit hunks when doing revert.

A workaround would be to first record and edit the hunk to only record 
the stuff I want to keep, followed by a revert.

However, in my case I'm not really ready to record the non-reverted code 
so I'd have to unrecord after doing the revert. That seems a bit 
excessive.
msg15028 (view) Author: kowey Date: 2012-01-16.17:31:45
Agreed! Please help us test the feature (already in darcs darcs).

darcs get --lazy http://darcs.net/reviewed darcs

We may need to tune the UI so it's more obvious how to make it work
msg15029 (view) Author: kowey Date: 2012-01-16.17:32:31
Oh hang on, I think this is even in the current beta
msg15032 (view) Author: ganesh Date: 2012-01-16.18:38:37
yep, cabal install darcs-beta and give it a go. The help text may well 
need some work, so do let us know how you find it.
msg15034 (view) Author: josef.svenningsson Date: 2012-01-17.09:47:58
Fantastic! Great to see my wish already fulfilled even before I needed 
it. :-)

However, I seems rather buggy. I never managed to get it to work the way 
I wanted. I'll file another ticket for that.
History
Date User Action Args
2012-01-16 17:07:04josef.svenningssoncreate
2012-01-16 17:31:47koweysetstatus: unknown -> resolved
topic: + UI
messages: + msg15028
2012-01-16 17:32:32koweysetstatus: resolved -> unknown
messages: + msg15029
2012-01-16 17:32:58koweysetstatus: unknown -> resolved
2012-01-16 18:38:38ganeshsetstatus: resolved -> unknown
messages: + msg15032
2012-01-17 09:47:59josef.svenningssonsetstatus: unknown -> resolved
messages: + msg15034
resolvedin: 2.8.0