[CSProjects] SVN post-commit hook
Vlad Dogaru
ddvlad at anaconda.cs.pub.ro
Mon May 7 01:14:43 EEST 2007
Salut,
am reusit sa fac Subversion sa trimita mail dupa commit. Am anexat un
exemplu de cum arata, dar evident ca poate fi schimbat. Daca vreti sa va
adaugati adresa de mail, editati
/home/cspay/cspaysvn/hooks/post-commit_emails. Nu am incercat sa pun
cate un mail pe linie, dar pe aceeasi linie si separate de spatiu sigur
merge daca adaugati.
Exista un mic neajuns: toate commit-urile or sa apara de la user-ul
cspay, caz in care am putea sa ne adaugam numele in log (artificial
totusi, tinand cont ca svnlook author intoarce autorul ultimei schimbari).
In afara de asta, totul pare in regula. Mai lipseste doar codul :-)
Vlad
-------- Original Message --------
Subject: New commit to cspay
Date: Mon, 7 May 2007 01:17:50 +0300 (EEST)
From: cspay at anaconda.cs.pub.ro (CSpay)
To: ddvlad at anaconda.cs.pub.ro
Hello,
This is to announce you that a new commit has been added to
/home/cspay/cspaysvn/ by cspay. Commit summary follows:
Date: 2007-05-07 00:54:03 +0300 (Mon, 07 May 2007)
Author: cspay
Message: another post-commit test
Changed files:
U svntest/vlad.txt
Diff follows:
Modified: svntest/vlad.txt
===================================================================
--- svntest/vlad.txt 2007-05-06 21:50:27 UTC (rev 2)
+++ svntest/vlad.txt 2007-05-06 21:54:03 UTC (rev 3)
@@ -5,3 +5,4 @@
testing the post-commit hook
+ok, poluez, dar asta e. iertare. vreau sa mearga.
--
If you wish to remove yourself from this list, or otherwise change the
format of this email, either go to /home/cspay/cspaysvn//hooks or email
ddvlad at anaconda.cs.pub.ro
--
alias give='man'
give head
More information about the cspay-dev
mailing list