Take the 2-minute tour ×
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

1 Answer 1

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

*.lnk
share|improve this answer
1  
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

 
discard

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.