Marty Wallace
Marty Wallace

Reputation: 35734

SVN - Ignore Symlinks

Is it possible to have SVN ignore all symlinks?

The particular situation I am trying to achieve is this:

Web framework under source control on its own

Additions to the framework are each modularised and kept separate to the framework and symlinked in as and when required.

These separate modules are also each under svn.

Upvotes: 3

Views: 1315

Answers (1)

Ajaypayne
Ajaypayne

Reputation: 517

Subversion doesn't recognize symlinks as links to other files or directories, but as the actual files and directories they link to. You can witness this working in VIM, say you have file a.ext and you ln -s a.ext - b.ext then you vi/vim b.ext, if will open for editing as if it were a file in it's own right and not a link.

You will unfortunately need to manually ignore any symlinks that you don't want to commit.

Upvotes: 1

Related Questions