views:

87

answers:

2

I asked this similar question and got a satisfactory answer. However, doing the same with SVNPoller doesn't work.

So how can I pass --trust-server-cert as an extra param to SVNPoller in buildbot

A: 
class MyPoller(SVNPoller):
    def __init__(...):
        SVNPoller.__init__(self, ...)

    def getProcessOutput(self, args):
        args += ["--trust-server-cert"]
        return SVNPoller.getProcessOutput(self, args)
flybywire
A: 

Use extra_args if specified, an array of strings that will be passed as extra arguments to the svn binary.

Alejandro