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