darcs

Issue 1603 in patch/hunk selection, $ is for see in external tool

Title in patch/hunk selection, $ is for see in external tool
Priority wishlist Status given-up
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, galbolle, kowey, mlesniak
Assigned To
Topics UI

Created on 2009-09-09.14:58:08 by galbolle, last changed 2017-07-30.23:18:33 by gh.

Messages
msg8770 (view) Author: galbolle Date: 2009-09-09.14:58:03
When selecting patches, it would be nice to see the effect of the patch once
applied. I propose to add a '$' keybinding in SelectChanges.lhs. This keybinding
would open an external diff-viewer (like kdiff3 or emacs' emerge) between the
version of the working directory with all previously selected changes applied,
and the version of the file with also the current patch applied on top. This
relies on a merge tool that is able to compare directories rather than files
(kdiff3 and ediff are able to do this). This tool would have to be provided
either through an option, or through an environment variable $DARCS_DIFF_VIEWER.

I don't know of any such lightweight tool which we could use as a default
(kdiff3 and ediff depend on kde and emacs respectively), so we'd have to either
find one, write one ourselves, or ask the user for one whenever $ is pressed and
the option is not set.
msg8775 (view) Author: kowey Date: 2009-09-09.15:56:55
I think this one could work.  It avoids the problem of UI sprawl by being quite
general.  I suggest coding it up and sending it to the list to see what they
think :-)
History
Date User Action Args
2009-09-09 14:58:08galbollecreate
2009-09-09 14:59:54galbollelinkissue1262 superseder
2009-09-09 15:01:57galbollelinkissue1404 superseder
2009-09-09 15:56:58koweysetstatus: unknown -> needs-implementation
nosy: + kowey
messages: + msg8775
2009-09-17 19:32:34mlesniaksetnosy: + mlesniak
2017-07-30 23:18:33ghsetstatus: needs-implementation -> given-up