1
我的C#应用程序使用SharpSVN来同步本地(工作副本)和远程(存储库)文件。由于我想在这些文件由其他应用程序进行处理时同步这些文件,因此可能会在提交时修改后的文件具有活动句柄。 当我尝试提交这些文件,我收到以下错误:如何使用SharpSvn提交具有活动手柄的文件?
SvnSystemException: "Can't open file 'somefile.ext': File is used by another process"
WindowsErrorCode: ERROR_SHARING_VIOLATION
然而,当我使用TortoiseSVN手动提交他们它的工作原理。