My environment is Android Studio, Win 7, Subversion.
Everything works fine, however, everything related to subversion, like commits, updates keeps throwing errors as if it didn't work.
But it worked! When I commit a change, my colleagues can update their files and my changes will be there. It's just these annoying random messages.
This is the message when I update the repository: Error:svn: E155000: Failed to add directory 'app/build/intermediates/res/debug': an unversioned directory of the same name already exists
but it does work, because I can see the changes from my colleagues.
This is when I try to check in Error:Warning: post-commit FS processing had error 'attempt to write a readonly database'.
So weird... it still working fine!
What's happening and how can I get rid of these error messages?
Thanks for any help.
答案 0 :(得分:2)
我通过访问subversion服务器并为文件上的组添加写入权限来解决问题:
/home/svn/repos/db/rep-cache.db
希望它可以帮助别人。
答案 1 :(得分:-1)
You need to add certain files to the ignore list of SVN.
Read up about the ignoring files part.
I have added the following items in my .gitignore, it should be the same for SVN:
gradle
.idea
*.iml
build
.DS_Store -- only in macs