summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorG.raud <graud@gmx.com>2018-01-28 13:05:33 +0100
committerG.raud <graud@gmx.com>2018-02-02 20:09:09 +0100
commit89861a921897d97dbaee4a093c225320d2350280 (patch)
treefec7ab6098b35aa358ec7f3e2cf7efb33fdb7292
parent823a62b7c8c0be0ab66da2d30cc8f0c6d2a0228f (diff)
downloadunison-89861a921897d97dbaee4a093c225320d2350280.zip
unison-89861a921897d97dbaee4a093c225320d2350280.tar.gz
unison-89861a921897d97dbaee4a093c225320d2350280.tar.bz2
Uitext: new actions "newer" and "older" as in Uigtk2
-rw-r--r--src/uitext.ml12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/uitext.ml b/src/uitext.ml
index f5f4196..2ca413d 100644
--- a/src/uitext.ml
+++ b/src/uitext.ml
@@ -400,6 +400,18 @@ let interact prilist rilist =
(fun () ->
diff.direction <- Replica2ToReplica1;
redisplayri();
+ next()));
+ (["]";"\""],
+ ("resolve conflicts in favor of the newer file"),
+ (fun () ->
+ Recon.setDirection ri `Newer `Prefer;
+ redisplayri();
+ next()));
+ (["[";"'"],
+ ("resolve conflicts in favor of the older file"),
+ (fun () ->
+ Recon.setDirection ri `Older `Prefer;
+ redisplayri();
next()))
]
(fun () -> displayri ri)