Allow users to easily update the default SVN checkout to 1.7

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 4.2.1, 4.3
    • Component/s: None
    • None

      4.2 adds support for SVN 1.7, but the default checkout is still 1.6 for backwards compatibility.

      You need to add a system flag -Dbamboo.svn.wc.format=1.7 to enable this. It would be nice to make this more easily configurable in the UI

      — Original Description

      After letting Bamboo perform a new checkout, the checkout structure will contain a .svn folder in every single directory, (Subversion 1.6 format), rather than a single .svn folder at the root (Subversion 1.7 format).

      Also, the SVN "entries" files that lives in each of the .svn folders have a first line populated by "10". This reflects the format version 10 which relates to 1.6 format, while 1.7 format should show a "12" in the single "entries" file that lives in it's single .svn folder.

      This happens because Bamboo uses SVNKit v1.3.x, which supports Subversion working copies <= 1.6 (read more), instead of a Native Subversion Client, so if you upgrade the Subversion server from 1.6 to 1.7 it will still checkout as 1.6.

      A workaround for this problem is to add the following extra parameter to the <BAMBOO_INSTALL>/config/wrapper.conf file:

      wrapper.java.additional.X=-Dbamboo.svn.wc.format=1.7
      

      Where "X" is the next number of the "wrapper.java.additional" section of the file.

      If a Remote Agent is being used, there are two options:

      • Start the agent from command line using the "-Dbamboo.svn.wc.format=1.7" parameter
      • Add the same line above to the wrapper.conf in the Remote Agent's home folder

            Assignee:
            Unassigned
            Reporter:
            Felipe Kraemer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: