[Bug 6670] New: Merge-tools shows the "output" file for the "local" argument

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Wed Mar 16 20:41:35 UTC 2022


https://bz.mercurial-scm.org/show_bug.cgi?id=6670

            Bug ID: 6670
           Summary: Merge-tools shows the "output" file for the "local"
                    argument
           Product: Mercurial
           Version: 6.1
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: extdiff
          Assignee: bugzilla at mercurial-scm.org
          Reporter: george.tulip.dev at gmail.com
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

NOTE: This seems to be a regression somewhere between 5.3.1 and 6.1

I've tested on Linux only.

Repro:
1. Configure a merge-tool (I use vimdiff) for the repo.
2. Rebase a commit onto another one that has a conflict.
3. vimdiff pops up

EXPECTED:
4 files are loaded:
${FILENAME}~local
${FILENAME}~base
${FILENAME}~other
${FILENAME}

with different content in each one.

ACTUAL:
${FILENAME}~local has the same content as ${FILENAME} 

NOTES:
On 5.3.1 ${FILENAME}~local is the unchanged content of the file that we are
rebasing onto. On 6.1 ${FILENAME}~local contains the exact contents of
${FILENAME} that includes the attempt at an automerge (including the <<<==>>>
conflict markers).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list