Applied Parameters: ObjectKind=FocusedProject|Action=CleanUp
Summary
This command runs Subversion's Cleanup tool for the project document. Before any changes are made to your local working copy of the project file, Subversion create a kind of 'to-do' list - actions it needs to do to perform the changes safely. As it performs these actions, it places a lock on the relevant part of the working copy while it works. This prevents other Subversion clients from accessing the working copy mid-change. Once finished, this lock is released and Subversion cleans up its private to-do list. If a Subversion operation is interrupted however - for example the process is interrupted, or if the computer crashes - the private to-do list remains on disk. This allows Subversion to return to that list later to complete any unfinished operations and return your working copy to a consistent state.
This cleanup command searches your working copy and runs any leftover to-do items, removing working copy locks as it completes those operations.
Access
This command can be accessed for the active project, or the focused project:
- Active Project - with a source document for the project open as the active document, choose the Project » Version Control » Cleanup command from the main menus.
- Focused Project - in the Projects panel, right-click on the entry for the project and choose the Version Control » Cleanup command from the context menu.
The command will only be available provided modifications have been made to the local working copy of the project document, and changes that were being implemented by Subversion were interrupted, without completing its full to-do list.
Use
After launching the command, Subversion runs any leftover to-do items - that remained after being previously interrupted - removing working copy locks as it completes those operations, and ultimately returning your working copy of the project document to a consistent state.
Tips
- If Subversion ever tells you that some part of your working copy is locked, try running this command to remedy the problem.