Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7793799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:36:05+00:00 2026-06-01T22:36:05+00:00

Mercurial docs about what mercurial does when it has to do a 3way merge:

  • 0

Mercurial docs about what mercurial does when it has to do a 3way merge:

By default, Mercurial will attempt to do a classic 3-way merge on text
files internally before trying to use an external tool.

When it invokes the external tool, that is always a “manual merge”.

Not all merge tools are created equally, and as it turns out my merge tool of choice (Araxis Merge), is often able to do an automatic merge of 3 files, where mercurial’s internal merge tool was not able to do so.

This leads to the scenario of big merges where maybe a bunch of files merge cleanly, done by hg’s internal mergetool, and then some other files do not merge cleanly but could have if hg would let me specify its mergetool. I find this to make big merges very inefficient, as you need to context switch a lot: hg pops up my merge tool, I think “oh darn, conflict”, to then realize “oh wait, theres no conflict at all”

I wonder if I’m missing something here, or if there is really no way to make hg able to use a custom merge tool for its automatic attempts at doing merges.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T22:36:06+00:00Added an answer on June 1, 2026 at 10:36 pm

    I think you’re looking for a switch to make Araxis Merge close itself automatically if it can auto-merge. I looked at the command line reference and their SCM integration document, but I’m actually not sure what switch it would be. You’ll have to experiment yourself.

    From Mercurial’s point of view there is no such thing as a “manual merge”. Mercurial tries to merge internally first (the so-called “premerge” step) and if that fails it looks for an external tool. The merge can still be fully automatic if that tool exists with an exit code of zero (successful exit). Mercurial will then consider the merge successful and go on to the next file. Depending on the tool, you wont notice this at all: Mercurial just runs the tool in the background and you’re only prompted for action when there is a serious merge conflict.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

does Mercurial have an HTTP protocol we could browse files/folders/branches instead of clone/pull changesets?
Mercurial has a way of printing the root directory (that contains .hg) via hg
Mercurial's website says about creating a project this way: Create a project and commit
Does Mercurial offer any type of extensions that offer functionality similar to TFS's work
In Mercurial, how do you examine a single changeset? hg log -l 5 will
Mercurial - Is it possible to merge changes from the trunk to a branch,
Mercurial newbie here, I have a simple question. I deleted one of my files
The mercurial wiki has hints on how to display the changesets a bundle would
mercurial-server manages user database under keys folder. Users and groups are represented by files
My Mercurial clone has become incredibly slow, presumably due to on-disk fragmentation. Is there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.