名称

svn cleanup — 递归清理工作拷贝。

概要

svn cleanup [PATH...]

描述

Recursively clean up the working copy, removing working copy locks and resuming unfinished operations. 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 cleanup to complete any merging with your external diff program. You can also specify any configuration directory with the --config-dir option, but you should need these options extremely infrequently.

别名

改变

工作拷贝2

是否访问版本库

选项

--diff3-cmd CMD
--config-dir DIR

例子

Well, there's not much to the examples here, as svn cleanup generates no output. If you pass no PATH, then “.” is used.

$ svn cleanup

$ svn cleanup /var/svn/working-copy