简体   繁体   中英

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:

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.

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.

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

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

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)

通过删除 svn:global-ignores 解决问题


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

使用 TortoiseSVN 添加到 git ignore

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

  • you get the error described by the OP

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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