[英]Tortoise SVN Error on commit: 'Invalid PROPPATCH property'
I'm using tortoise svn 1.6.16 on a Windows 7 machine, and getting an error on commit, as below:我在 Windows 7 机器上使用 tortoise svn 1.6.16,并在提交时出错,如下所示:
Error: Commit failed (details follow):
Error: At least one property change failed; repository is unchanged
Error: Invalid PROPPATCH property
A previous question asked here indicated that this was due to quotes in the commit message, but that is not my issue. 此处提出的先前问题表明这是由于提交消息中的引号引起的,但这不是我的问题。
I've tried re-installing svn, and have also tried making my changes a second time on a clean checkout of my project.我已经尝试重新安装 svn,并且还尝试在我的项目干净签出时第二次进行更改。 The error still persists though.
但是错误仍然存在。
Can anyone recommend a way to access the invalid PROPPATCH property and fix it?任何人都可以推荐一种方法来访问无效的 PROPPATCH 属性并修复它吗? Or is there a known workaround to get me over this hump?
或者是否有一种已知的解决方法可以让我克服这个问题? Any info much appreciated.
任何信息非常感谢。
To elaborate on @Sergey Bodrov's answer, it may be that your repository is using Git, and not supporting the "ignore" property.要详细说明@Sergey Bodrov 的回答,可能是您的存储库正在使用 Git,并且不支持“忽略”属性。 This was what fixed it for me: Right-click on the working copy root folder, select Tortoise SVN > Properties, remove the "svn:ignore" property and then commit works fine.
这就是为我修复它的原因:右键单击工作副本根文件夹,选择 Tortoise SVN > 属性,删除“svn:ignore”属性,然后提交工作正常。
Your SVN server not support some properties for directories (ignored files list, for example).您的 SVN 服务器不支持目录的某些属性(例如,忽略的文件列表)。
To elaborate even more on all the answers (that led me to the solution, thanks a lot), in my case I did not know witch property was set, so I used the command line to list the properties:为了详细说明所有答案(这让我找到了解决方案,非常感谢),在我的情况下,我不知道设置了女巫属性,所以我使用命令行列出了属性:
svn proplist * --recursive
So, I saw the name of the property and removed it:因此,我看到了该属性的名称并将其删除:
svn propdel svn:global-ignores --recursive
Click on OK and have a server that does not support this duch as github.com单击“确定”并拥有一个不支持此名称的服务器,如github.com
you get the error described by the OP你得到了 OP 描述的错误
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.