Split build history into master and prs.