The currently released version of post-review is limited to very basic
git functionality. You can't specify an arbitrary revision range. You
can try my updated version here and see how it works:

Alternatively, you can always execute an arbitrary git diff command
and send that through the web interface. Just make sure that the base
version is in the upstream repository on the server (or upload a
parent diff as well).


On Sep 7, 8:37 am, Flavio Castelli <> wrote:
> I have some problems trying to create reviews of already committed
> code. I'm using git as VCS and I have followed these 
> instructions:
> When I call post-review I get an error message:
> post-review --revision-range=65fd4a764c6b7a7ed82c3444a335743feef7728e
> Traceback (most recent call last):
>   File "/usr/local/bin/post-review", line 8, in <module>
>     load_entry_point('',
> 'console_scripts', 'post-review')()
>   File "/usr/local/lib64/python2.6/site-packages/
> RBTools-0.2beta2.dev_20090903-py2.6.egg/rbtools/", line
> 2515, in main
>   File "/usr/local/lib64/python2.6/site-packages/
> RBTools-0.2beta2.dev_20090903-py2.6.egg/rbtools/", line
> 2247, in tempt_fate
>   File "/usr/local/lib64/python2.6/site-packages/
> RBTools-0.2beta2.dev_20090903-py2.6.egg/rbtools/", line
> 439, in upload_diff
> TypeError: object of type 'NoneType' has no len()
> As you can see I have tried to update to latest version of RBTools,
> post-review version is 0.8
> BTW, creating reviews of uncommitted code works fine.
> Is it a known issue?
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to