Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ n00b ] change default merge conflict tool #925

Open
braedontask opened this issue Jul 23, 2024 · 3 comments
Open

[ n00b ] change default merge conflict tool #925

braedontask opened this issue Jul 23, 2024 · 3 comments

Comments

@braedontask
Copy link

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.

@quark-zju
Copy link
Contributor

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

@muirdm
Copy link
Contributor

muirdm commented Jul 23, 2024

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).

@bolinfest
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants