Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delete a file/folder from SVN via Tortoise: how to?

i have some code projects in separate folders in a svn repository.

Now i have some problems with deleting files: most of the times all goes well, but sometimes when i delete a file or folder from disk the checkin process gives me all kind of errors.

So i was wondering: what exactly is the way to delete folders under svn source control?

do i just delete them in the explorer and then commit the master folder, of do i have to rightclick the folder, and then ?

It seems a trivial question, but deleting files is giving me so much troubles with svn (for the rest i'm realy happy with it).

like image 762
Michel Avatar asked Aug 19 '11 13:08

Michel


People also ask

How do I delete a directory in svn?

Deleting a File or Directory To remove a file from a Subversion repository, change to the directory with its working copy and run the following command: svn delete file… Similarly, to remove a directory and all files that are in it, type: svn delete directory…

Does svn cleanup delete files?

All files and folders that are not versioned are moved to the trash bin. Note: you can also do the same from the TortoiseSVN → Revert dialog. There you also get a list of all the unversioned files and folders to select for removal. This command reverts all your local modifications which are not committed yet.


1 Answers

Right click file / folder -> TortoiseSVN -> Delete.

And then commit.

like image 174
manojlds Avatar answered Oct 26 '22 22:10

manojlds