acid
acid

Reputation: 2149

Updating Symfony 2.1 (Subversion)

I would like to update my Symfony 2.1.1 (trunk) to 2.1.2, but running composer update deletes folders containing .svn files. How do I properly update it?

Upvotes: 3

Views: 298

Answers (1)

Ramon de la Fuente
Ramon de la Fuente

Reputation: 8343

Cyprian is right, the contents of the vendor folder should be excluded from SVN.

You accomplish this by setting the svn:ignore property to value "*" on the vendor folder, or ignoring the vendor folder.

Since you already have the folders in the repository, the way to go is to remove the contents of the vendor folder with svn (svn rm), and committing that change. After that, add the ingore property and commit.

When you run composer install or update in the future, this will not affect your repository.

Upvotes: 4

Related Questions