I'm using something like util.Interpolate('%(src::branch)s') to get the name of the branch from my Subversion repository. This works as expected when polling the repository but not when forcing a build.
Is it possible to somehow use util.Interpolate('%(src::branch)s') so that when the branch is None or an empty string it uses "trunk" instead?
util.Interpolate('%(src::branch)s') should return the src::branch property when one has been set or else trunk.
According to buildbot docs it should be:
util.Interpolate('%(src::branch:-trunk)s')