[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: read from stdin in pre-revprop-change hook fails

From: Per Nilsson <per.nilsson_at_enics.com>
Date: Thu, 24 Oct 2013 23:58:09 -0700 (PDT)

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

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.