I'm trying to get the latest revision ID from my SVN project using Phing. What I'm trying to do is the following:
I don't have a working copy on my server where phing is running, so I cannot use the Phing SvnLastRevisionTask.
we found it ourselves and did it as follows:
<exec command="svn info http://user:pass@localhost/repos/trunk | grep Revision | awk '{print $2}'" outputProperty="svn.lastrevision" />
enjoy!