Thanks for pointing me in the right direction! Thus, the svn package (e.g. svn-multi ) and xstring .
First set the keywords property in the tex file:
svn propset svn: keywords "URL Date Rev"> your_file <.tex
Next, add the .tex file to the beginning:
\ svnidlong
{$ HeadURL $}
{$ LastChangedDate $}
{$ LastChangedRevision $}
{$ LastChangedBy $}
Then, add a line like this to the body of the document (depending on what you want to extract)
\StrBetween{\svnmainurl}{branches/}{/sourcecode} \\
Complete the .tex file for svn so that the data fills up
And this!:)
source share