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

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

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 24 Oct 2013 22:03:09 +0200

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:


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-10-24 22:03:19 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.