Thursday, May 16, 2013

How to convert symbolic links in svn to real files, thanks to Introduction to Version Control with Subversion

I find symbolic links very useful. Subversion recognizes and can administrate symbolic links, however if you had a file which you want to change for a symbolic link, you need to set the svn:special property of the file (otherwise you get the error svn: Entry 'yourfile' has unexpectedly changed special status):
svn propset svn:special on filename

In the contrary case, if you change symbolic links to files delete the svn:special property:
svn propdel svn:special filename

(This little propset/propdel detail is easy to forget - Connie)

Introduction to Version Control with Subversion

'via Blog this'

No comments:

Post a Comment