svn - Subversion - put version number in a file -


i want single file, called "revision", contains repository revision number @ given time when export repository, application able see revision was.

how can this?

the problem using normal keyword substitution $rev$ shows last revision in file changed. haven't tried myself, there tool called svnversion comes svn believe can use revision number of working copy. it's case of configuring build process use tool , insert result revision file.

there guide on how use svnversion (especially if you're using ant) here: http://cameronstokes.com/2009/12/12/using-svnversion-from-ant


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -