You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Emre Uslu <em...@ayesas.com> on 2008/01/22 16:47:55 UTC

How to get new propvalue in svn propset?

Hi all,

 

I've written a hook script which logs the "author, revision and old
comment" information to a file while editing commit comments. I also
wanted to add the new comment information to this file but could not..
Is it possible? 

 

The server is running on windows (2003) and the script is written in
perl.

 

Thanks,

EMRE USLU



Bu e-posta, mesaji alici kisminda belirtilmis olan kullanici icindir. Mesajin alicisi siz degilseniz dogrudan veya dolayli olarak mesaji kullanmayiniz, acmayiniz, dagitmayainiz, yazicidan dokumunu almayiniz veya herhangi bir kismini kopyalamayiniz. Yanlislikla bu mesaj size ulasmissa lutfen, siliniz ve tum kopyalarini yok ederek mesaji gonderene acilen haber veriniz. Bu mesaj icerisinde belirtilenler sadece gondericinin kisisel gorusleridir. Bu gorusler Aydin Yazilim ve Elektronik Sanayii A.S. (AYESAS)'in goruslerini yansitmadigi gibi, AYESAS'i baglayici da degildir. Bu mesajin iceriginde ya da eklerinde yer alan bilgilerin dogrulugu, butunlugu ve guncelligi AYESAS tarafindan garanti edilmemektedir ve bilinen viruslere karsi kontrolleri yapilmis olarak yollanan mesajin sitenizde yaratabilecegi zararlardan AYESAS sorumlu tutulamaz.

This email is intended solely for the use of the individual or entity to whom it is adressed. If you are not the intended adressee of this message, you should not use, open, disseminate, distrubute, print or copy this e-mail. If you have received this email in error. please delete it from your system and notify the sender immediately. Aydin Yazilim ve Elektronik Sanayii A.S. (AYESAS) does not accept any legal responsibility whatsoever for the contents of this message. Any opinions contained in this message are those of the author and are not given or endorsed by the AYESAS. AYESAS does not warrant the accuracy, integrity and currency of the information transmitted with this message. This message has been detected for all known computer viruses thence AYESAS is not liable for the occurrence of any system corruption caused by this message.

RE: Re: How to get new propvalue in svn propset?

Posted by Emre Uslu <em...@ayesas.com>.
But it worked thanks. :)

EMRE USLU

>-----Original Message-----
>From: news [mailto:news@ger.gmane.org] On Behalf Of Sohail Somani
>Sent: Tuesday, January 22, 2008 6:53 PM
>To: users@subversion.tigris.org
>Subject: Re: How to get new propvalue in svn propset?
>
>On Tue, 22 Jan 2008 18:47:55 +0200, Emre Uslu wrote:
>
>> I've written a hook script which logs the "author, revision and old
>> comment" information to a file while editing commit comments. I also
>> wanted to add the new comment information to this file but could
not..
>> Is it possible?
>
>Yep. Use the equivalent post commit hook. I seem to recall doing
>something like:
>
>pre-commit: Write old comment to file
>post-commit: Write new comment to file
>
>I'm sure that was the wrong way to do it ;-)
>
>--
>Sohail Somani
>http://uint32t.blogspot.com
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org



Bu e-posta, mesaji alici kisminda belirtilmis olan kullanici icindir. Mesajin alicisi siz degilseniz dogrudan veya dolayli olarak mesaji kullanmayiniz, acmayiniz, dagitmayainiz, yazicidan dokumunu almayiniz veya herhangi bir kismini kopyalamayiniz. Yanlislikla bu mesaj size ulasmissa lutfen, siliniz ve tum kopyalarini yok ederek mesaji gonderene acilen haber veriniz. Bu mesaj icerisinde belirtilenler sadece gondericinin kisisel gorusleridir. Bu gorusler Aydin Yazilim ve Elektronik Sanayii A.S. (AYESAS)'in goruslerini yansitmadigi gibi, AYESAS'i baglayici da degildir. Bu mesajin iceriginde ya da eklerinde yer alan bilgilerin dogrulugu, butunlugu ve guncelligi AYESAS tarafindan garanti edilmemektedir ve bilinen viruslere karsi kontrolleri yapilmis olarak yollanan mesajin sitenizde yaratabilecegi zararlardan AYESAS sorumlu tutulamaz.

This email is intended solely for the use of the individual or entity to whom it is adressed. If you are not the intended adressee of this message, you should not use, open, disseminate, distrubute, print or copy this e-mail. If you have received this email in error. please delete it from your system and notify the sender immediately. Aydin Yazilim ve Elektronik Sanayii A.S. (AYESAS) does not accept any legal responsibility whatsoever for the contents of this message. Any opinions contained in this message are those of the author and are not given or endorsed by the AYESAS. AYESAS does not warrant the accuracy, integrity and currency of the information transmitted with this message. This message has been detected for all known computer viruses thence AYESAS is not liable for the occurrence of any system corruption caused by this message.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: How to get new propvalue in svn propset?

Posted by Sohail Somani <so...@taggedtype.net>.
On Tue, 22 Jan 2008 18:47:55 +0200, Emre Uslu wrote:

> I've written a hook script which logs the "author, revision and old
> comment" information to a file while editing commit comments. I also
> wanted to add the new comment information to this file but could not..
> Is it possible?

Yep. Use the equivalent post commit hook. I seem to recall doing 
something like:

pre-commit: Write old comment to file
post-commit: Write new comment to file

I'm sure that was the wrong way to do it ;-)

-- 
Sohail Somani
http://uint32t.blogspot.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org