mkdir foo
cd foo
darcs init
touch file
darcs record --name=quux -a
echo apa >> file
echo bepa >> file
darcs revert
Press 'e' and move the line 'bepa' from BEFORE to AFTER
Then I will get the following UI experience.
hunk ./file 1
+bepa
Shall I revert this change? (1/3) [ynW...], or ? for more options: n
hunk ./file 1
-bepa
+apa
Shall I revert this change? (2/3) [ynW...], or ? for more options: n
hunk ./file 2
+bepa
Shall I revert this change? (3/3) [ynW...], or ? for more options: n
If you don't want to revert after all, that's fine with me!
Finished reverting.
Note that I asked to revert '+bepa' twice, which is really weird. I also
think that the hunk '-bepa +apa' is really weird, intuitively it should
only show '+apa'.
|