Svn lock processing and svn Processing
Svn lock handling:
Problem:
1: when a user locks a file or folder in work copy1, deletes the workspace, retrieves work copy2 again, and then operates the file, an error is reported, the file has been locked and must be unlocked first, but the previous workspace has been deleted and cannot be unlocked;
2: After a user locks a file or folder, the user leaves the company and the machine handed in the file. When another user attempts to operate the file or folder, the user will report unlocking the file first, but the unlocked workspace cannot be found.
Solution:
1. Select the file or folder, right-click svn get lock, and in the pop-up dialog box, Hook "steal the locks", which means to steal the lock, unlock the file again.
Note:
This function is unique to svn and is convenient to handle in special cases.