How to quickly substitute svn keywords in a git-svn repository?

308 Views Asked by At

I'm using git-svn on a repository which uses svn keywords like $Revision$, $Id$ and $Date$. While in general they don't have to be substituted, it would be helpful to have e.g. the correct SVN revision (obtainable via git svn find-rev $(git log FILENAME | head -n1 | awk ' { print $2 } ') if it's an actual SVN commit) put in a compiled binary. How to achieve this easily?

0

There are 0 best solutions below