sapling icon indicating copy to clipboard operation
sapling copied to clipboard

[ n00b ] change default merge conflict tool

Open braedontask opened this issue 1 year ago • 3 comments

i dont want to use filemerge for conflicts after running sl rebase. would prefer to just resolve the flags in my default editor. is there some simple config im missing here?

former facebooker. love sapling btw! lmk if you need contributors.

braedontask avatar Jul 23 '24 21:07 braedontask

Try rebase -t :merge or configure sl config --local ui.merge:interactive=:merge to set it permanently.

quark-zju avatar Jul 23 '24 22:07 quark-zju

You can configure ui.merge:interactive to your preferred merge method (see sl help merge-tools). For example. sl config --user ui.merge:interactive=:merge3 which will leave three way merge markers in the file if there are conflicts.

The default tool should be "editmerge" which is what I use. It opens the conflicts automatically in your editor to let you go through them quickly (need to configure ui.editor to choose your editor).

muirdm avatar Jul 23 '24 22:07 muirdm

There aren't specific docs for this on https://sapling-scm.com/ are there?

bolinfest avatar Aug 02 '24 21:08 bolinfest