How To Remove External Repositories From Subversion
Posted on January 8th, 2008 in Ruby on Rails, Web Development | 3 Comments »
I was trying out a plugin in my Ruby on Rails application and decided not to use it. Apparently, when I installed the plugin, a reference to it was added to my subversion repository. Since the reference was not to a working directory, my capistrano deployments got debackled and died. Here is how you can remove external repositories from subversion.
If you get a message like this one when you are working with subversion:
Fetching external item into 'vendor/plugins/...'
Change directories so that you are in the root of your Rails application and issue the following command:
svn propedit svn:externals vendor/plugins
A list of the external plugins will appear in your default editor. Mine is vim. Delete the link that you no longer want, save the file and commit your changes.
3 Responses
Exactly what I was looking for! Thanks, this saved me some more hair pulling.
Thanks guys, this helped a lot.
Awesome. I wish I’d searched for this sooner; was a real PITA to remove from SVN when I couldn’t check it out in the first place, and editing the .svn files by hand resulted in corruption. Thank you so much!