You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ykonuslu <yk...@aselsan.com.tr> on 2004/04/15 02:53:24 UTC
post-commit in Windows
Hi,
i know that this topic was several times discussed in this group. However, i has had no success until now sending commit emails in Windows. Actually the post-commit.bat script is firing. Bu no email is sent. One more thing I do not understand is the $REV number parameter in the script. How is it used and what is its effect? Any place to find a post-commit.bat script would help me to go further.
Thanks
Yagmur Konuslu
Aselsan INC.
################################################################################################
Dikkat:
Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi
bilgilendirip mesaji siliniz. Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte,
guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki gorusler ve bakis acisi
gondericiye ait olup Aselsan A.S. resmi gorusu olmak zorunda degildir.
################################################################################################
Attention:
This e-mail message is privileged and confidential. If you are not the intended recipient please
delete the message and notify the sender. E-mails to and from the company are monitored for
operational reasons and in accordance with lawful business practices. Any views or opinions
presented are solely those of the author and do not necessarily represent the views of the company.
################################################################################################
Re: post-commit in Windows
Posted by ykonuslu <yk...@aselsan.com.tr>.
Thanks very much,
its ok. There is one more question in place, who should have access (read,
write etc.) to the hooks folder, after a commit is made?
Best regards
Yagmur Konuslu
----- Original Message -----
From: <kf...@collab.net>
To: "Tom Opgenorth" <to...@opgenorth.net>
Cc: "ykonuslu" <yk...@aselsan.com.tr>; "Subversion User"
<us...@subversion.tigris.org>
Sent: Thursday, April 15, 2004 6:38 PM
Subject: Re: post-commit in Windows
> Tom Opgenorth <to...@opgenorth.net> writes:
> > The $Rev parameter that you see in post-commit.tmpl is the revision
> > number that was just commited. Every time a commit happesn, your
> > post-commit.bat will be called something like this:
> >
> > post-commit.bat c:/svnrepo 200
> >
> >
> > Right now, my post-bat looks like (pretty simple):
> >
> > ShadowCommit.exe %1 %2
> >
> > ShadowCommit.exe is a program of my own. It expects on the command
> > line the directory that the repository (%1) is in, and and the
> > revision number (%2).
>
> Ykonuslu, note that $1 is Unix-speak for %1 in Windows/DOS. It's the
> same idea, just $ instead of %.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
################################################################################################
Dikkat:
Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi
bilgilendirip mesaji siliniz. Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte,
guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki gorusler ve bakis acisi
gondericiye ait olup Aselsan A.S. resmi gorusu olmak zorunda degildir.
################################################################################################
Attention:
This e-mail message is privileged and confidential. If you are not the intended recipient please
delete the message and notify the sender. E-mails to and from the company are monitored for
operational reasons and in accordance with lawful business practices. Any views or opinions
presented are solely those of the author and do not necessarily represent the views of the company.
################################################################################################
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: post-commit in Windows
Posted by kf...@collab.net.
Tom Opgenorth <to...@opgenorth.net> writes:
> The $Rev parameter that you see in post-commit.tmpl is the revision
> number that was just commited. Every time a commit happesn, your
> post-commit.bat will be called something like this:
>
> post-commit.bat c:/svnrepo 200
>
>
> Right now, my post-bat looks like (pretty simple):
>
> ShadowCommit.exe %1 %2
>
> ShadowCommit.exe is a program of my own. It expects on the command
> line the directory that the repository (%1) is in, and and the
> revision number (%2).
Ykonuslu, note that $1 is Unix-speak for %1 in Windows/DOS. It's the
same idea, just $ instead of %.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: post-commit in Windows
Posted by Tom Opgenorth <to...@opgenorth.net>.
The $Rev parameter that you see in post-commit.tmpl is the revision
number that was just commited. Every time a commit happesn, your
post-commit.bat will be called something like this:
post-commit.bat c:/svnrepo 200
Right now, my post-bat looks like (pretty simple):
ShadowCommit.exe %1 %2
ShadowCommit.exe is a program of my own. It expects on the command line
the directory that the repository (%1) is in, and and the revision
number (%2).
HTH
ykonuslu wrote:
> Hi,
> i know that this topic was several times discussed in this group. However, i has had no success until now sending commit emails in Windows. Actually the post-commit.bat script is firing. Bu no email is sent. One more thing I do not understand is the $REV number parameter in the script. How is it used and what is its effect? Any place to find a post-commit.bat script would help me to go further.
>
> Thanks
> Yagmur Konuslu
> Aselsan INC.
> ################################################################################################
> Dikkat:
>
> Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi
> bilgilendirip mesaji siliniz. Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte,
> guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki gorusler ve bakis acisi
> gondericiye ait olup Aselsan A.S. resmi gorusu olmak zorunda degildir.
>
> ################################################################################################
> Attention:
>
> This e-mail message is privileged and confidential. If you are not the intended recipient please
> delete the message and notify the sender. E-mails to and from the company are monitored for
> operational reasons and in accordance with lawful business practices. Any views or opinions
> presented are solely those of the author and do not necessarily represent the views of the company.
>
> ################################################################################################
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org