-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Platform: All, OS: Linux
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.
- is duplicated by
-
JENKINS-3968 Problem with Symbolic Link Checkout from SVN Repository
-
- Closed
-
-
JENKINS-3904 symbolic links are wrong on checkout
-
- Closed
-
in SubversionSCM.java lines 1656-1658:
// work around for
http://www.nabble.com/Slow-SVN-Checkout-tf4486786.html
if(System.getProperty("svnkit.symlinks")==null)
System.setProperty("svnkit.symlinks","false");
could this be the cause of the problem on Hudson Unix nodes?
the SVNKit FAQ suggests to disable symlinks only for 'older' versions of SVNKit,
whilst for the latest one with proper JNA support (as in svnkit/1.3.0-hudson-1)
symlinks feature should remain enabled.