Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deleting a folder from svn repository

I sometimes make mistakes with svn and have folders stuck in my repository. I want to remove these folders but I cannot figure out a way to do this. Keep in mind I am very new with SVN. I am running this command from apple terminal:

sudo svn delete http://www.yourrepository.com/svn/folder

I get the message :

Anthony-Work-Mac-Pro:htdocs APN$ sudo svn delete http://www.yourrepository.com/svn/folder svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) options 

I have also tried svn delete, and svn rm.

What do I need to do?

like image 453
user1214633 Avatar asked Feb 16 '12 19:02

user1214633


People also ask

How do I delete a Subversion repository?

Show activity on this post. Now, after performing "Click OK" you need to go to truck (or place where your project is saved in SVN) then select project(which you want to Delete) then right click -> Delete. This Will Delete project from subversion.

How do I delete a branch in TortoiseSVN?

right click on working copy top directory (i.e. the folder that contains the . svn folder); click on TortoiseSVN -> Repo-browser; right click on the corresponding folder on the left side of the window (should be pre-selected); click on Delete...; write log message and hit [OK].

How do I edit a svn repository?

Click on the new working copy and right click to select the repository browser (TortoiseSVN -> Repo-browser) Right click the file of choice in the repository browser and select "Update item to revision"

How do I add a folder to svn repository?

One way is to browse the repository to the place where you want to insert your new directory and right-click and select "Create Folder". Then right click the folder and check it out to the location where you want it. Then copy the directory of files you want to put into SVN into the folder created by the checkout.


1 Answers

Looks like a commit message is required, and you do not have your system configured to launch an editor for you to add one (without specifying on the command line).

Try this:

svn delete http://www.yourrepository.com/svn/folder --message "Deleting" 
like image 129
crashmstr Avatar answered Sep 19 '22 18:09

crashmstr