You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a Mac with XCode installed, Sapling will use filemergexcode as the default interactive merge tool. We do not love this tool, but struggled to configure use of standard conflict markers. After looking through the code we eventually found this works:
My 2c is that having the setup for these tools (arguments etc) available by default is great, but enabling them by default is not desirable, especially given how opaque the config is. I'd prefer to add a ui.merge = filemergexcode line to make it explicit.
The text was updated successfully, but these errors were encountered:
Thanks for bringing this up. We do plan to make it more friendly to configure. For example, the first time a merge tool is being used and if you're in an interactive terminal, maybe we should ask you what tool to use.
Regarding on the default, I do think an explicitly configured tool is a better choice. There are some documents (like https://www.araxis.com/merge/macos/integrating-with-other-applications.en#Mercurial) that rely on the implicit tool selection, and some of our internal users expect that behavior (they complained when we accidentally broke the implicit tool selection). So making it explicit would be a breaking change. Perhaps we should at least print a hint about why a tool is changed and how to update the config.
On a Mac with XCode installed, Sapling will use filemergexcode as the default interactive merge tool. We do not love this tool, but struggled to configure use of standard conflict markers. After looking through the code we eventually found this works:
The separate config for interactive vs non-interactive merges does not seem to be mentioned in either the sapling or mercurial docs.
The defaults seem to come from this built-in config.
My 2c is that having the setup for these tools (arguments etc) available by default is great, but enabling them by default is not desirable, especially given how opaque the config is. I'd prefer to add a
ui.merge = filemergexcode
line to make it explicit.The text was updated successfully, but these errors were encountered: