


Uses the other 'p2()' version of files as the merged version.Īsks the user which of the local 'p1()' or the other 'p2()' version to keep as the merged version.

The marker will have two sections, one with the content from one side of the merge, and one with a diff from the base content to the content on the other side. It will fail if there are any conflicts and leave markers in the partially merged file. Uses the internal non-interactive simple merge algorithm for merging files. Marker will have three sections, one from each side of the merge and one for the base content. Like :merge, but resolve all conflicts non-interactively in favor of the other 'p2()' changes. Like :merge, but resolve all conflicts non-interactively in favor of the local 'p1()' changes. Markers will have two sections, one for each side of merge. Uses the local 'p1()' version of files as the merged version. The resolve command must be used to resolve these conflicts.Ĭreates three versions of the files as same as :dump, but omits premerge. Rather than attempting to merge files that were modified on both branches, it marks them as unresolved. Use :forcedump to forcibly write files out. Therefore, files aren't dumped, if premerge If the file to be merged is named "a.txt", these files will accordingly be named "a.txt.local", "a.txt.other" and "a.txt.base" and they will be placed in the same directory as "a.txt". These files can then be used to perform a merge manually. The internalĬreates three versions of the files to merge, containing the contents of local, other and base. There are some internal merge tools which can be used. GUI is available if the tool requires a GUI. Symlink, if it can handle binary files if the file is binary, and if a The tool is assumed to beĪble to handle the merge if it can handle symlinks if the file is a Is an absolute or relative executable path or the name of anĪpplication in the executable search path. Merge-tools configuration section - see hgrc(5) - but they can often justĪ merge tool is generally usable if its executable can be found on the Programs but relies on external tools for that.Įxternal merge tools and their properties are configured in the Mercurial does not include any interactive merge Interactive merge programs make it easier to manually resolveĬonflicting merges, either in a graphical way, or by inserting someĬonflict markers. The two different evolutions of the same initial base file. Usually, the merge tool tries to automatically reconcile the files byĬombining all non-overlapping changes that occurred separately in Merge tools are used both for 'hg resolve', 'hg merge', 'hg update', Merge tools are given the two files and the greatest commonĪncestor of the two file versions, so they can determine the changes To merge files Mercurial uses merge tools.Ī merge tool combines two different versions of a file into a mergedįile.
