Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a project on my Windows 7 machine that contains symlinks. When I try to commit the project to an SVN repository TortoiseSVN fails with "Symbolic links are not supported on this platform".

That's fine and I would like TortoiseSVN to ignore the symlinks. But how?

I played around with the ignore property but since in Windows symlinks have no special names or extensions (they just look like the file they're pointing to), and I couldn't succeed.

share|improve this question
Now I found out that symlinks have the svn:special property. Now it's a question how one can ignore all special files... – Piedone Aug 23 '10 at 23:04
Another workaround would be to exclude 0 byte-sized "files". AFAIK filtering on file size is not supported by TortoiseSVN so maybe the best solution would be to write a script that adds all symlinks to the ignore list one by one... – Piedone Aug 23 '10 at 23:38

2 Answers 2

It looks like SVN 1.8 stopped working with symbolic links. Earlier version of SVN could help with these, if that's an option.

As a workaround, if the symbolic link leads to a folder that contains only other subfolders, you can perform svn operations in the symlink subfolders (that are not symbolic links) just fine.

share|improve this answer

Windows shortcuts are .lnk files, so you could try setting svn:ignore to:

share|improve this answer
I think you mix something up. What Piedone is talking about are symlinks created using mklink. – Andreas Aug 23 '10 at 21:10
You are probably right. I just read 'shortcuts'. Thanks! – Richard Fearn Aug 23 '10 at 21:52
Thank you for your reply! Actually I was mixing up the terminology (I have edited the post to clear thinks up). As Andreas pointed out I have indeed meant the symlinks made by mklink. Since these links "look" the same as the file they're pointing to, I have no idea how one can filter them out... – Piedone Aug 23 '10 at 22:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.