Tortoise SVN Error on commit: 'Invalid PROPPATCH property'

馋奶兔 提交于 2021-01-27 04:26:18

问题


I'm using tortoise svn 1.6.16 on a Windows 7 machine, and getting an error on commit, as below:

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. The error still persists though.

Can anyone recommend a way to access the invalid PROPPATCH property and fix it? Or is there a known workaround to get me over this hump? Any info much appreciated.


回答1:


To elaborate on @Sergey Bodrov's answer, it may be that your repository is using Git, and not supporting the "ignore" property. 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.




回答2:


Your SVN server not support some properties for directories (ignored files list, for example).

  • exclude (uncheck) directory from commit list and don't set directory properties
  • or use another SVN server



回答3:


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



回答4:


Solving the issue:

  • Find and browse to the folder that causes the error and check his properties (or these of the superfolders) - see here

  • Remove the svn:global-ignores (you can edit the "normal" ignores to still match your needs)


Reproducing the error can be done like this:

  • Try to (globally/recursively) add an item to the git ignore list as shown in the figure

  • Click on OK and have a server that does not support this duch as github.com

  • you get the error described by the OP



来源:https://stackoverflow.com/questions/12343393/tortoise-svn-error-on-commit-invalid-proppatch-property

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!