SVN servers can delete folders but files cannot be deleted. svn deletes files.

Source: Internet
Author: User
Tags website server

SVN servers can delete folders but files cannot be deleted. svn deletes files.

SVN server can delete folders but cannot delete files: Solution


Find any computer Client Connected to SVN, open TortoiseSVN Browser, and enter the correct URL ,:



Enter the correct authentication information and find the corresponding file in the file directory.



Right-click the file and choose X to delete it.


Cause:SVN does not allow the server to delete a single file uploaded by the client, unless the entire project is deleted. If you want to delete an object, you can only delete it after accessing it through a URL.



In windows, the svn server cannot delete files but folders. Why?

The folder file cannot be deleted and is being used by another person or program. The reason why the folder directory cannot be deleted is not empty is as follows:
1. If there are files in use in the folder, deletion will certainly fail. Some virus programs may fail to delete folders during running.
2. If the NTFS file system is used and the current user does not have full control over the target file, the deletion will fail.
3. If there is a problem with the file storage, deletion will also fail. For example, if the USB flash drive is damaged, you can view the file in the resource manager, but cannot delete the file.
4. The file name contains special characters, which may cause deletion failure. Some users or software will create such special files to protect valuable files from accidental deletion.

The folder cannot be deleted. The folder file cannot be deleted and is being used by another person or program. Solution
1. First, try to use Kingsoft drug overlord to scan and kill the virus. If you clear the running virus, the files in the folder will not be occupied any more, and the deletion will be completed.
2. You can use the process viewer in Kingsoft drug overlord 2011 treasure chest to check whether the currently running process is in the folder to be deleted.
After the process is completed, try to delete the process.
3. If it still fails, try the file shredder in Kingsoft drug Baobao. Note: Generally, do not use a file shredder to delete a large file or folder, which takes a long time.
4. Alternatively, you can try unlocker and Baidu will find it. After installation, right-click the icon in the target folder and select unlock and delete.
5. If you suspect that the storage media is damaged, you need to repair the disk before proceeding.
You only need to right-click the disk icon, select disk error in the disk Properties dialog box, and follow the prompts to complete the operation. After the storage fault is fixed, no error will be reported if you delete it again.
6. folder access permissions cannot be deleted, which is easily ignored. If the preceding methods fail. Check whether the current user does not have full control permissions for the folder. You need to right-click the folder icon, select security from the pop-up menu, and then add the current user or the everyone user as full control.

Svn folder affects the website startup. If you delete the svn folder, it can be started normally. However, once the version is updated, it cannot be restarted.

Master Kong copied my answers to another question, which has nothing to do with it.

If. if the svn folder affects the website, do not directly publish the updated content to the website server, and then execute the export (export) operation after the update, so that you can obtain the clean content. svn folder, but remember to delete the original exported content before export, because export is not an incremental operation.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.