Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-544

Merge conflicts resolver doesn't recognize "|||||||" conflict markers

    XMLWordPrintableJSON

Details

    Description

      When an update creates a conflict, a merge conflict involving three versions of the file looks like this:

      <<<<<<< .mine
      lines from local file
      ||||||| .r1
      lines from revision 1
      =======
      lines from revision 2
      >>>>>>> .r2

      The Merge Conflicts Resolver (menu TeamĀ > Resolve Conflicts...) does not recognize "|||||||" lines and doesn't filter them out in the "Local Working File" pane. When accepting the local version, the "|||||||" lines therefore end up in the merged result, as shown in the "Result after merge" pane, and also in the actual file after saving. They have to be removed manually then, or may remain unnoticed and be accidentally commited.

      I only tested this with the JavaHL subversion client so far, but suspect that this bug is independent of the client.

      Attachments

        Issue Links

          Activity

            People

              hodawg Aaron Ho-Means
              matthies Niklas Matthies
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h