web: handle branch=trunk usefully