Search code examples
svnmergeannotateblame

SVN - Does a merge preserve the author so that blame will be correct?


In my team, some we help each other with the merges. I.e. my code is merged back to trunk by someone else. It seems like the author info not is fully preserved during a merge. When I do annotate (blame) the merger is shown as the author.

Have the merger done something wrong or isn’t the original author preserved in a merge?


Solution

  • If your server does merge tracking and your client tools are version 1.5 or later, this will work:

    svn blame --use-merge-history TARGET