Pagine

Monday 31 October 2016

SVN tutorial n 12 - cleanup

The svn cleanup executes recursively the clean up the working copy.
The synopsis is:
svn cleanup <local_path>
If <local_path> is omitted, “.” is assumed (default value).
If you ever get a working copy locked error, run this command to remove stale locks and get your working copy into a usable state again. If, for some reason, an svn update fails due to a problem running an external diff program (e.g., user input or network failure), pass the --diff3-cmd to allow the cleanup process to complete any required merging using your external diff program. You can also specify any configuration directory with the --config-dir option, but you should need these options extremely infrequently.

Examples:

Clean up current folder (recursively)
svn cleanup
Clean up of a subfolder (recursively)
svn cleanup myfolder

No comments:

Post a Comment