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

pre-commit hook for project version.

From: uprooter <uprooter_at_gmail.com>
Date: Tue, 1 Apr 2008 11:03:03 -0700 (PDT)

Hi.
I'm trying to implement an automated mechanism for creating a build version
of a big project.
The problem is that there are several kinds of IDE's involved so I want the
server to do the version increment by modifying a dedicated file (lets say
version.h) where I can keep the version number and auto increment it on
every commit.
I try with svnput and putfile.py, but both of them increment the revision
since they commit.thus incrementing the revision by 2 on each user commit.
Is there a way to modify that file from pre-commit without incrementing the
revision?
Any other ideas on how to implement this on the server?

-- 
View this message in context: http://www.nabble.com/pre-commit-hook-for-project-version.-tp16420009p16420009.html
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-01 20:03:30 CEST

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