[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to get the version number out?

From: Eric Hanchrow <offby1_at_blarg.net>
Date: 2007-02-16 05:49:35 CET

>>>>> "Kenny" == Kenny Leung <kenny_leung@pobox.com> writes:

    Kenny> ... a file in the project directory with something like
    Kenny> #define VERSION XXX upon export. However, there does not
    Kenny> seem to be a post-export hook.

Have a script that chooses a revision to export (by, say, doing "svn
log"), and then passe that revision number to the "svn export"
command, _and_ creates the file with #define VERSION XXXX in it.

-- 
This movie doesn't scrape the bottom of the barrel.  This movie isn't
the bottom of the barrel.  This movie isn't below the bottom of the
barrel.  This movie doesn't deserve to be mentioned in the same
sentence with barrels.
        Roger Ebert on "Freddy Got Fingered"
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 16 05:53:41 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.