replace __revision__ with __version__