On 07/02/2008, Mark Stosberg <bugs@darcs.net> wrote:
> Would anyone like to propose a specific UI for how we could implement this?
As for interactive hunk editing, here are some thoughts (since you ask
for them).
One principle is that interactive hunk-splitting should be just that
(no actually
modifying the hunks). I can't justify this principle other than
thinking that it would
just make life simpler for us.
We could rearrange the presentation so that all lines are together, for example
instead of presenting something like
-removed1
-removed2
-removed3
+added1
+added2
We would present the following text to the user.
'Put **HUNK** anywhere you would like to see a hunk boundary. Change
only the hunk boundaries. Do not modify the hunks themselves, or darcs
record will not understand the changes)
** HUNK **
-removed1
+added1
-removed2
+added2
-removed3 |