.svnrev revision number in CVS will correspond to revision number in SubVersion if you start from clean CVS repository and invoke this from post-commit hook. Nice :-)