As part of my build, I would like my buildscript to write to a file exactly which revision from which vcs root was used to create this build. Like:
VCSROOT: Trunk TYPE:Git URL: git://github.com/lucasmeijer/someproject.git CHANGE:ea0b89345bedaa9802342323
VCSROOT: Documentation TYPE: SVN URL: svn://lucasmeijer.com/docs/stable CHANGE: r234223
Is there a way I can achieve this?
(Please note the builds I want to do this for have multiple vcs roots)