I'm still stuck on this. I renamed pre-commit.tmpl to pre-commit.bat
and I replaced the contents with the two lines:
echo "pre-commit.bat"
pause
I just want to see that the batch script is triggered. But when I
check something in, nothing seems to happen. Any ideas?
Thanks,
Greg
On 5/5/05, Ben Collins-Sussman <sussman@collab.net> wrote:
> [please keep the users@ list cc'd]
>
>
> On May 5, 2005, at 8:28 PM, Gregory Piņero wrote:
>
> > Thanks. That's neat it that the example already does what I want.
> > Here are my questions after looking at the example:
> >
> > I'm running subversion on windows server 2000, these look like unix
> > commands? Any ideas?
> >
> > I'm confused about how the hook works, does it launch svnlook? Why
> > can svnlook see the log message before it is commited?
> >
>
> The launches svnlook to examine the *transaction* before it's
> committed, that's the -t argument.
>
> As for the rest of the command... I don't know win32 batch language.
> You'll have to parse the output of svnlook and make sure it's not
> returning an empty log value.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 7 00:01:05 2005