buildbot/buildbot — pull request #338 by jocelynj (2012-03-07 14:29:10+00:00)
Title: Move console filtering on revisions to db

These commits move all filtering done on branch, author, repository and project from console.filterRevisions() to db.changes.getRecentChanges().

I'm not really happy on what I did on branch filtering, but there are some strange case because of svn "trunk" being mapped to "" in console, and to NULL in database.

I have fully tested only the branch part, not other modifications, as I don't have several repositories, nor projects. I have also added some testcases on db.changes.getRecentChanges() to cover the new arguments.