Skip to main content

Command: SVN Cleanup

Function: The command opens the SVN Cleanup dialog. In the dialog, you define actions that are performed when cleaning up the SVN working copy.

Call: Project → SVN menu

Dialog: SVN Cleanup

Internal SVN working copy

Update time stamps (speeds up SVN status display)

standard icon: Corrects recorded time stamps for unchanged files in the working directory, which leads to a reduction in the compare time for future checks

It is not necessary to execute this in regular intervals in the normal workflow.

Vacuum cached pristine copies (may reduce the size of your project file)

standard icon: Cleans the buffer for the original copies by deleting older versions that are no longer referenced by the current project

Advantage: The size of the project file is reduced. Disadvantage: If you downgrade to older revisions, or if you switch between different branches, then the retrieved data size will increase.

Clear work queue and force unlock of SVN internal data structures (emergency only!)

standard icon: Cleans up the internal SVN task queues and unlocks internal SVN data structures

This should never be necessary during normal work by CODESYS SVN.

Note: Use this option only if errors occur for SVN commands due to locked working copies. When this is the case, it refers to an error in CODESYS SVN. Then send us an error report (if possible with steps to repeat) to the CODESYS support.

Info: These are "administrative locks" which are internal locks in the SVN working copy. These locks are not set up by context menu commands. For more information, see the "The three meanings of locks" section in: http://svnbook.red-bean.com/en/1.8/svn.advanced.locking.html

Project contents

Revert all local changes (use with care!)

Reverts all local changes to the original status in the SVN repository

Release all locks

Releases all "advisory locks" in the project (locks visible to the user)

These locks are activated by Acquire lock and Steal lock.

Revalidate all locks against the repository (they could have been stolen)

Checks, for example, whether the locally available advisory locks are still valid or have been stolen by someone else

All invalid locks are removed.

Status caches

Clear all caches and refresh status icons

Deletes all internal caches which CODESYS SVN has and updates the status icons

Required only if it issues an error in CODESYS SVN through which the caches or the status display are inconsistent