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

Re: Need help for subversion

From: Hiroshi Miyazaki <miyazaki.hir-02_at_jp.fujitsu.com>
Date: Fri, 29 Jan 2010 10:13:13 +0900

Hello Eric san,

Thank you for your response.

>Did you check out the subversion book already ?

http://svnbook.red-bean.com/nightly/en/svn.ref.reposhooks.html

I lookovered these spec.

>post-commit
>post-lock
>post-revprop-change
>post-unlock
>pre-commit
>pre-lock
>pre-revprop-change
>pre-unlock
>start-commit

I'd like to confirm these hooks can be invoked by checkout command(functionality).
(I'm not sure this capability.)

>How do you want the additional functions perform ?

Hook functionality retrives DataBase data and embed in the checked-out file along with checkout.

>By native code or just simply python script code ?
Basically, Java code.

Thank you and best regards,

----- Original Message -----

From:"Eric Lee" <pgeric_at_gmail.com>
To:"Hiroshi Miyazaki" <miyazaki.hir-02_at_jp.fujitsu.com>
CC:"Andrey Repin" <users_at_subversion.apache.org>, "Andrey Repin" <anrdaemon_at_freemail.ru>
Subject:Re: Need help for subversion

>Miyazaki
>
>Did you check out the subversion book already ?
>
>There are a number of hooks on subversion including,
>
>post-commit
>post-lock
>post-revprop-change
>post-unlock
>pre-commit
>pre-lock
>pre-revprop-change
>pre-unlock
>start-commit
>
>These is take from a hooks directory of a svn repository.
>
>How do you want the additional functions perform ?
>
>By native code or just simply python script code ?
>
>
>
>Thanks,
>
>
>Regards,
>Eric,
>
>
>2010/1/29 Hiroshi Miyazaki <miyazaki.hir-02_at_jp.fujitsu.com>
>
>> Dear Andrey san,
>>
>> Thank you for your response,
>>
>> >Hooking is only server-side, and only handle commits.
>>
>> It seems to be regrettable.
>>
>> It is essential to use the subversion and
>> provide the checkout functionality.
>> Are there any ways to achieve this capability by anay means?
>>
>> Thank you and best regards,
>>
>> ----- Original Message -----
>>
>> From:"Andrey Repin" <anrdaemon_at_freemail.ru>
>> To:"Hiroshi Miyazaki" <miyazaki.hir-02_at_jp.fujitsu.com>,
>> users_at_subversion.apache.org
>> CC:Re: Need help for subversion
>>
>> >Greetings, Hiroshi Miyazaki!
>> >
>> >> According to the Subversion Wiki,
>> >> it seem to be possible to develop hook methods.
>> >> Therefore, I'd like to use its capability.
>> >> When we checkin and checkout certain files into/from Subversion (through
>> command line),
>> >> is it possible to invoke an "hook method (exit routine)", which can add
>> some extra
>> >> user required function.
>> >
>> >Hooking is only server-side, and only handle commits.
>> >Without more information about your intentions and supposed program
>> >architecture, it's hard to suggest anything.
>> >
>> >
>> >--
>> >WBR,
>> > Andrey Repin (anrdaemon_at_freemail.ru) 28.01.2010, <17:21>
>> >
>> >Sorry for my terrible english...
>> >
>> >
>> =====================================
>> Hiroshi Miyazaki
>> Fujitsu
>> 1-17-25 ShinKamata, O-ota-ku, Tokyo, Japan
>> Tel) +81-3-6424-6276 (ex. 7053-8779)
>> Fax) +81-3-6424-6446 (ex. 7053-9081)
>> =====================================
>>
>>
>
=====================================
Hiroshi Miyazaki
Fujitsu
1-17-25 ShinKamata, O-ota-ku, Tokyo, Japan
Tel) +81-3-6424-6276 (ex. 7053-8779)
Fax) +81-3-6424-6446 (ex. 7053-9081)
=====================================
Received on 2010-01-29 02:29:24 CET

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