Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3949

Subversion checkouts creates files for symlinks

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: subversion-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: Linux
    • Similar Issues:
      Show 5 results

      Description

      The check out of project containing checked in symlinks creates a workspace
      with files instead of symlinks. E.g., creating a repository containing
      the elements:

      $ svn co file://$PWD/test/trunk/data
      A data/file.link
      A data/file.txt
      Checked out revision 3.
      $ ls -l data
      total 12
      lrwxrwxrwx 1 mrohan mrohan 8 Jun 28 17:55 file.link -> file.txt
      rw-rw-r- 1 mrohan mrohan 16 Jun 28 17:55 file.txt

      Within Hudson, the workspace contains the elements:

      $ ls -l data
      total 16
      rw-rw-r- 1 hudson hudson 13 Jun 28 17:53 file.link
      rw-rw-r- 1 hudson hudson 16 Jun 28 17:53 file.txt
      $ cat data/file.link
      link file.txt

      There is no newline in the file created.

        Attachments

        1. output.1.310.txt
          0.5 kB
        2. output.1.311.txt
          0.5 kB
        3. svnkit.w-def.0.log
          12 kB
        4. svnkit.wo-def.0.log
          12 kB

          Issue Links

            Activity

            Hide
            mkrohan mkrohan added a comment -

            Created an attachment (id=770)
            SVNKit log file with -Dsvnkit.symlinks=true on cmd line

            Show
            mkrohan mkrohan added a comment - Created an attachment (id=770) SVNKit log file with -Dsvnkit.symlinks=true on cmd line
            Hide
            dodok1 dodok1 added a comment -

            I wuold like to point out that there is simple test case in
            SubversionSCMTest::testSymbolicLinkCheckout() to check this problem.

            I think that this problem has something to do with JNA.

            Show
            dodok1 dodok1 added a comment - I wuold like to point out that there is simple test case in SubversionSCMTest::testSymbolicLinkCheckout() to check this problem. I think that this problem has something to do with JNA.
            Hide
            dodok1 dodok1 added a comment -

            After correcting my test case , I approve that solution is to remove those
            lines setting svnkit.symlinks to true.
            The issue with slow checkouts was solved in svnkit 1.3.0 using JNA.

            As soon as I will test in on the real deployment, I will commit that change.

            Show
            dodok1 dodok1 added a comment - After correcting my test case , I approve that solution is to remove those lines setting svnkit.symlinks to true. The issue with slow checkouts was solved in svnkit 1.3.0 using JNA. As soon as I will test in on the real deployment, I will commit that change.
            Hide
            dodok1 dodok1 added a comment -

            solved in trunk, removed obsolete workaround

            Show
            dodok1 dodok1 added a comment - solved in trunk, removed obsolete workaround
            Hide
            tommythekid Tommy McNeely added a comment -

            If anyone else thinks they are being bit by this very old bug, please check to see if you are actually affected by https://issues.jenkins-ci.org/browse/JENKINS-14217 ... which is what was getting us.

            ~tommy

            Show
            tommythekid Tommy McNeely added a comment - If anyone else thinks they are being bit by this very old bug, please check to see if you are actually affected by https://issues.jenkins-ci.org/browse/JENKINS-14217 ... which is what was getting us. ~tommy

              People

              • Assignee:
                Unassigned
                Reporter:
                mkrohan mkrohan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: