svntortoisesvnintellij-ideaankhsvnmergeinfo

How to avoid svn:mergeinfos on sub-folders?


We try to keep the 'svn:mergeinfo' property on the root branch folder only. However, we keep seeing it creep into subfolders. We've been able to identify some possible causes:

  1. Moving a folder in the repo-browser
  2. Moving and/or renaming packages in IntelliJ
  3. Using old svn clients

Can anyone provide a list of things we should not do in order to avoid creating these properties by accident?

The tools we are using are IntelliJ 8 (soon 9), Ankh, TortoiseSVN and SlikSvn.


Solution

  • We wrote a SVN hook/trigger that simply rejects commits to svn:properties on non-trunk. We never looked back.