Did some testing, fixed some bugs.
Still not tested to completion with a real repo that's part of my Reviewboard instance.
(Currently fails on not finding the repo name in the list of known repos.)