我在从 Tortoise SVN 上传文件到 SVN 存储库时遇到问题。我可以上传所有文件,除了某些总是失败的特定文件
文件列表
Rhino.Mocks.dll System.Data.SQLite.dll
Microsoft.Ajax.debug.js
在 SVN 上,错误日志包含这些条目。
[Tue Dec 15 15:03:33 2009] [error] [client xxx.xxx.xxx.xxx] Unable to PUT new contents for /Futures/!svn/wrk/31a3597a-ac95-9a4f-a234-bedc059f9c32/MyFolder/trunk/ExternalLibraries/RhinoMocks.dll. [403, #0]
[Tue Dec 15 15:03:33 2009] [error] [client xxx.xxx.xxx.xxx] Could not prepare to write the file [500, #160044]
[Tue Dec 15 15:03:33 2009] [error] [client xxx.xxx.xxx.xxx] Cannot write to the prototype revision file of transaction '11-n' because a previous representation is currently being written by this process [500, #160044]
[Tue Dec 15 15:03:41 2009] [error] [client xxx.xxx.xxx.xxx] Unable to PUT new contents for /Futures/!svn/wrk/544b013d-1d26-ab4b-9ecf-4aab76f7bee3/MyFolder/trunk/ExternalLibraries/System.Data.SQLite.dll. [403, #0]
[Tue Dec 15 15:03:41 2009] [error] [client xxx.xxx.xxx.xxx] Could not prepare to write the file [500, #160044]
[Tue Dec 15 15:03:41 2009] [error] [client xxx.xxx.xxx.xxx] Cannot write to the prototype revision file of transaction '11-o' because a previous representation is currently being written by this process [500, #160044]
任何帮助将不胜感激
谢谢你, 三月
编辑:结果:
关闭 AniVirus 对我来说没有帮助。
我重新启动了 Apache - 相同的结果
我复制了上面列出的 dll 并进行了提交 - 它有效。看来问题的原因可能是dll损坏了,那么它是什么时候损坏的呢?该项目能够毫无异常(exception)地使用这些 dll。我打开了 javascript 文件,在标题中添加了额外的空格并将其保存回来。我能够提交该文件。
目前问题已解决,但仍不确定原因是什么。
我是 SVN 新手 - 在提交之前我是否应该对文件执行除“添加”之外的其他操作?
最佳答案
我的猜测:防病毒软件
关于svn - 某些文件扩展名的 SVN Commit 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1910503/