File already Exists:filesystem '/path/file ', transaction SVN common error resolution

Source: Internet
Author: User
Tags svn
Objective

Many people tasks will be used to SVN, and then submit the time if not first update in the submission or operation sequence is not correct, will often appear errors, including file already exists:filesystem this is a common problem, Internet search for a half-day did not find a solution, after groping, Through the solution to share this.


Solving Method

Different situations correspond to different solutions:

1, General. Backup directly, then delete the local, then fill in the warehouse checkout the latest files, and then the backup of the changes to add the latest files, and then the submission is done.


2, localy new, local new. This writing can be changed before being commit, including deletion, such as you create a new directory and then delete it, then the next commit will not reflect the process, when nothing happened. So when you see the following error code: File already Exists:filesystem '/path/db ', transaction ' 9-1 ', path '/path/trunk/vendor/plugins/ Classic_pagination ' Failed to add directory object of the same name already Exists[/code] is because remote repository has someone commit a Directory, and you have a local directory with the same name, very simple, you just rename, or delete the local directory, you can successfully update the.

3. If a directory or file is already under SVN control (for example, checkout), any local manipulation of it will be logged by SVN, such as deleting it and then building it, which will be executed remotely at commit time. In the case of deletion and establishment, you actually have to make two commits, one for deletion and the other for new.


Summary

In fact, SVN related problems error resolution is about the consistency of data, so there is no good entanglements, think of a can avoid dirty data, and then the data into a consistent on it.

Complete the full text.

  

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.