Subversion with plugins

Hi,

I am using subversion and capistrano to deploy my rails app to mongrel.
I recently just downloaded the acts_as_attachment plugin using their
subversion repository. The problem now comes when i try and add it to
my repository it tells me that it is alread in a repository.

Is there a way to remove it from the repository that i downloaded it
from, and add it to mine?

Thanks!

subversion gives me a headache. But it’s probably just because I haven’t
made friends with it yet.
You don’t care about the other repository, right? So go through and
delete all of the .svn folders that are within the plugin’s directory.
Or, according to the svn help, you can do svn delete [directory] and
that will remove it from version control. Then you can re-add it.
Jason

lundie wrote:

I am using subversion and capistrano to deploy my rails app to mongrel.
I recently just downloaded the acts_as_attachment plugin using their
subversion repository. The problem now comes when i try and add it to
my repository it tells me that it is alread in a repository.

Is there a way to remove it from the repository that i downloaded it
from, and add it to mine?

Delete the copy you’ve already put in vendor/plugins, and instead use
Rails’s built-in plugin installer:

ruby script/plugin install acts_as_attachment

That’ll export the plugin files as plain normal files into your
vendor/plugins directory, and then you can ‘svn add’ them as normal.

Chris