简体   繁体   English

乌龟SVN提交错误

[英]Tortoise SVN commit error

I've looked up previous posts for this issue I have but they are quite old now and none of the solutions have worked for this particular file I am having issues with. 我已经查找了有关此问题的以前的帖子,但是它们现在已经很旧了,并且没有解决方案可用于我遇到问题的该特定文件。

Before I go any further, please be aware that I am not an expert at SVN, in fact we do not I believe fully utilise this at my company and only have a working knowledge of it for committing changes to code configurations. 在继续之前,请注意我不是SVN的专家,实际上,我认为我们并不充分利用此知识,而仅对它的工作知识有把握,可以对代码配置进行更改。 Not myself, nor any of my colleagues in this office know the ins and outs of how SVN works. 不是我本人,也不是这个办公室的任何同事都了解SVN的工作原理。

I'm trying to commit a small change to a script in my SVN repository, but am getting this error. 我正在尝试对SVN储存库中的脚本进行小的更改,但出现此错误。

SVN提交错误

I had this problem with another file earlier, and to fix this I did the following: 我之前在另一个文件中遇到了这个问题,为了解决这个问题,我执行了以下操作:

  1. Revert the folder 还原资料夹
  2. SVN Cleanup SVN清理
  3. Unversion and add the file to the ignore list 取消版本并将文件添加到忽略列表
  4. Commit the folder 提交文件夹
  5. Replace file with a new verison of the file 用文件的新版本替换文件
  6. Add
  7. Commit folder. 提交文件夹。

However, for this particular file, this hasn't worked and it doesn't seem to matter what I try I just cannot get this fixed. 但是,对于这个特定的文件,它没有用,我尝试执行的操作似乎也没有关系,只是无法解决此问题。

If I delete the entire folder manually (through Windows, not SVN delete). 如果我手动删除整个文件夹(通过Windows,而不是SVN删除)。 Then do an SVN Update, I get the folder back with the files, including the problem file. 然后执行SVN更新,我将包含问题文件的文件恢复到文件夹中。 This suggests to me the file is the current "live" file from the repository. 这对我来说,该文件是存储库中当前的“活动”文件。 But I still can't make changes and commit, and the above solution I used for the other problem file I had earlier also doesn't work. 但是我仍然无法进行更改和提交,并且上面用于其他问题文件的上述解决方案也不起作用。

Is there anything else I can try? 还有什么我可以尝试的吗?

Many thanks in advance 提前谢谢了

Steve 史蒂夫

Many thanks for the replies. 非常感谢您的答复。

@Jon - this solution worked. @Jon-此解决方案有效。 I did a SVN Checkout to a new directory and it appears to work ok now. 我对新目录执行了SVN Checkout,现在看来可以正常工作。 Hopefully I haen't spoken too soon :) 希望我不会太早讲:)

Thanks 谢谢

Steve 史蒂夫

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM