方法中少个方法就会出现一些问题.

比如进行了断线测试,结果再操作时就出现了文件被锁的情况,最终查了官网的论坛,才得以解决

 How to unlock if the working copy is locked?

You can use SvnClient.Cleanup(path) for this. (Equivalent to 'svn cleanup
<path>')                    你可以使用cleanup 这个方法解决这个问题.我的方法里边确实没这步,于是就出现这种问题.

See http://docs.sharpsvn​.net/current/html/M_​SharpSvn_SvnClient_C​leanUp.htm
for the MSDN like documentation of this method.

 

posted on 2017-04-04 19:46  小石头的一天  阅读(270)  评论(0编辑  收藏  举报