SVN import: executable bit not honored?
I'm importing from an SVN .dump file. Once, I load the workspace that I imported the SVN into and examine the file system, files which were marked executable in SVN are not marked executable as loaded from Jazz SCM.
Is there any documentation about this? |
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. |
If you have an example Subversion dump file that illustrates this, then you should open a work item and attach the dump file to the work item. This should make it easy to verify the failure. Also, please include the version of RTC you are using.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.