In Eclipse, open the package where the file is located, click "Clean", then lock first, then unlock: first select team-lock with your own account (the most important thing is to select the "force unlock" option), and select team-unlock.
Encountered SVN cleanup failure and reported is not a working copy direct
I don't know that svn was messed up by a friend. I can't update or submit. There is an "obstruction" on it when I submit.
It is called to execute cleanup, but an error occurs during execution, reporting "is not a working copy directory".
So I cut out the file and then submitted it. It showed that this was missing, so I submitted it. It's OK. The error I made was in classes. Because I don't want to submit classes to svn, I just copy them in and that's it. No need to add it to svn
Summary of svn permission settings and solutions to "do not have permission to open root for editing operations"
If anonymous user access is not allowed, set
This setting is made in svnserve.conf:
anon-access=none
auth-access=write
If anon-access = read, you need to add: in the authz file:
[/]
* = r
Otherwise, an error message will appear when using SVN for Checkout: No permission to open the root for editing operations. .
1. svnserve supports directory-oriented access control;
2. Permissions are inherited, so you need to use the form "* = " to prevent unauthorized users from accessing specific subdirectories;
3. svn 1.3.2 and later versions allow operations on subdirectories without requiring read permissions from the parent directory;
4. If it is a Chinese directory, authz must be saved in utf-8 format, and cannot contain BOM. Notepad that comes with Windows will add BOM to files saved in utf-8, so if you save it in utf-8 8. After the format is saved, when svn reports a "section header expected" error when submitting the code, it is most likely with a BOM. Of course, many editors can now easily convert, such as ultraedit saving as U8-DOS, editplus saving as utf-8, and the open source Notepad++ format conversion "convert to utf-8 code (no BOM)" etc. can complete the job.