Max Williams
Max Williams

Reputation: 32943

How to get svn to ignore symbolic links to folders

I have a project tracked in svn. On our server, the "index" and "log" folders are symbolic links to folders in a shared directory. I don't want either of these in svn, and they are causing problems committing and updating: i get an error doing "svn update" on the server:

Expected 'log' to be a directory but found a file

I tried setting them to be ignored, like

svn propset svn:ignore index .
svn propset svn:ignore log .

But update still breaks, and i can't commit these changes to . because i get this error:

Expected '/ebs/www/apps/e_learning_resource/releases/20110121171004/log' to be a directory but found a file

grateful for any advice - max

Upvotes: 2

Views: 7044

Answers (1)

AlG
AlG

Reputation: 15157

Sounds like log is already committed in SVN. Delete it (be careful to keep your local link or be ready to recreate it!), commit the deletion, and your ignore should be good from then on.

Upvotes: 5

Related Questions