It's all about the answers!

Ask a question

SVN import: executable bit not honored?


Thom Savage (1122) | asked Dec 12 '11, 10:32 p.m.
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



permanent link
Michael Valenta (3.7k3) | answered Dec 13 '11, 8:38 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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.

permanent link
Thom Savage (1122) | answered Dec 14 '11, 4:49 p.m.
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.

permanent link
Michael Valenta (3.7k3) | answered Dec 16 '11, 11:53 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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


Register or to post 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.