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

Re: svn version branch

From: Alessandro Rossi <rossi_at_airventsam.it>
Date: 2005-06-08 17:18:34 CEST

Thank you for your interest.
I'm a newbie and maybe I don't understand what you are saying...:)
I would like to create automatically a java class which will be executed
every time a user commit changes to the server. This class has to update
a .properties file where there is a property that contain the actual
version.
In addition to this I would like to know which is the branch which
caused the last commit (and so increase the version).
To do this I wrote a java class and I tried to call it from a
post-commit.bat file.
In the post-commit.bat I wrote:

java mypackage.PostCommitSVN.java %1 %2

but this do absolutely nothing.
Can you Help me, please?

Thank you
Alessandro Rossi.

Ben Collins-Sussman wrote:

>
> On Jun 7, 2005, at 1:43 AM, Alessandro Rossi wrote:
>
>
>> Hi,
>> I have the following problem:
>> When a user commit some changes to a repository, after the commit I
>> execute the post-commit.exe and I see that the second parameter
>> (repository) is the repository path (c:\svn\repository), but, how
>> can I know from which branch the version has been increased? e.g.
>> how can I know if the actual version (version 51) has been created
>> by changes of branch 1.1 or branch 1.5?
>> Does anybody can help me?
>>
>>
>
> $ svnlook changed c:\svn\repository
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 8 17:34:08 2005

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