I'm using perl to parse the stdin
/Per
> On 24.10.2013 21:49, Per Nilsson wrote:
> > Hello
> >
> > I'm creating a pre-revprop-change hook.
> > The hook runs well, but I want to do some sanity checks on the new log message.
> > The templat says that the new log message shall arrive on stdin. But in my hook, I don't receive anything on stdin.
> >
> > When I run my script from the command line and pipe text into it, stdin is fed with my text.
> >
> > What may be wrong?
> >
> >
> > (Running Winndows and VisualSVN Server 2.7.1)
>
> What scripting language are you using?
> If you're using python, you might need the subprocess lib:
> https://julianscorner.com/2007/12/28/python-based-svn-pre-commit-hook/
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest interface to (Sub)version control
> /_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3067035
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-10-25 08:58:13 CEST