SVN import: executable bit not honored?
3 answers
The Subversion importer should preserve the execute bit of files. Specifically, it uses the svn:executable property to determine if the executable bit of a file is to be set. If you then load that content on a file system that supports executable bits (e.g. linux) the bit should be set. You can also see if the bit is set on the file in the repository by performing a Show/Repository Files on the component and then performing a Show Properties on the file.
I was hoping that was the case. Unfortunately, it is not working for me. Though when looking through my dump file I can confirm that a file has the "svn:executable" prop set, it does not retain that property after the import to Jazz.
I verified this by importing a known executable file, loading the workspace to which I imported the file, and verifying that it was not marked executable on the file system. I also verified it by showing repository files, looking at the file's properties, and seeing that the "executable" flag was set to false.
I verified this by importing a known executable file, loading the workspace to which I imported the file, and verifying that it was not marked executable on the file system. I also verified it by showing repository files, looking at the file's properties, and seeing that the "executable" flag was set to false.