To add a file with a revision number on commit in SVN

svn

I've not sure if this could be implemented with Subversion, but is there a way to add a file with the revision number on commit?

  • File name: revision.txt
  • Would only have one line: revision number
  • If exists, update with new revision number

UPDATE:

OK, I've added this option to my SVN configuration

[auto-props]
enable-auto-props = yes
*.php = svn:keywords=Id

Here is the file I'm checking in with SVN (command line)

<?php
/**
 * $Id$
 */
?>
$Id$

Looking in the repository I only see the code above and not the revision number.