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

Re: pre-commit hook for project version.

From: uprooter <uprooter_at_gmail.com>
Date: Tue, 1 Apr 2008 21:29:23 +0300

Hi john and thank you for your quick reply.

> > Is there a way to modify that file from pre-commit without incrementing
> > the revision?
> No, you must not alter file contents in the pre-commit hook (because
> then it would not be the same data that the client just sent).
Well, the client would not commit the "version.h" file. I can be sure about
that. I can even check it in the hook.

> > Any other ideas on how to implement this on the server?
> What's wrong with one of these methods?

> http://subversion.tigris.org/faq.html#version-value-in-source

All of these methods are imlemented in the client side.
I have a C# gui developer running visual studio 2005
socket programmer developing in GNU make
java web programmer developing in NetBeans
A solution in the client side would be a hassle for me.

What do you suggest ?

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:29:53 CEST

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