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

SVN: New folders after merge aren't committed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 11.2
    • None
    • None
    • Kubuntu 18.04

    Description

      When I add new folders in one svn branch (branch-to-merge) and then go to another branch (trunk) and merge the changes from branch-to-merge into trunk only changes to files are shown and committed.

      The folders are shown as new in the projects view. Right clicking on them and selecting Subversion -> Commit will commit them as expected. But committing from the root folder will not show them.

       

       To reproduce:

      1. Set up svn with two identical branches.
      2. Switch to second branch through Subversion -> Copy -> Switch to Copy
      3. Do some changes, add folders with new files and commit.
      4. Switch to first branch.
      5. Merge changes via Subversion -> Copy -> Merge Changes -> One Repository Folder Since Its Origin
      6. Commit Changes through Subversion -> Commit

      Expected Result:

      All changed files and all new files and folders are commited to the first branch.

      Actual Result:

      Only changed files are commited to the first branch.

      Workarounds:

      Restart Netbeans or commit the new folders individually.

      Notes:

      svn status actually shows the new folders, so the issue seems to be with Netbeans.

      I marked this as critical because in a large project you might not notice the missing folders and thus commit something incomplete to trunk and push it to production with missing files. (this is exactly what happened to me)

      Attachments

        Activity

          People

            Unassigned Unassigned
            bjoern-tantau Björn Tantau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: