Can you run with --output-diff and see if it gives you anything useful? Also
with --debug to see which commands it executes.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Feb 11, 2011 at 9:55 AM, Martin <marr...@gmail.com> wrote:

> Hi everyone,
>
> I'm working with git-svn and the post-review command is failing when
> working on branches. I'm using the --parent and there are differences
> between the branches and the master.
>
> My repo is like this:
>
> * master -> The one that fetches from svn trunk
>  mockito_refactor -> Branched from master
>  mockito_refactor_models -> Branched from mockito-refactor
>
> I did a review between mockito-refactor and master as usual, but
> between mockito-refactor-models and mockito-refactor fails.
>
> This is what I'm running
> laptop15:~/dev/models/quijote.git:mockito_refactor_models$ post-review
> --parent=mockito_refactor --guess_summary --guess-description
>
> And this is the error:
> Traceback (most recent call last):
>  File "/usr/local/bin/post-review", line 9, in <module>
>    load_entry_point('RBTools==0.2', 'console_scripts', 'post-review')
> ()
>  File "/usr/local/lib/python2.6/dist-packages/RBTools-0.2-py2.6.egg/
> rbtools/postreview.py", line 2861, in main
>    submit_as=options.submit_as)
>  File "/usr/local/lib/python2.6/dist-packages/RBTools-0.2-py2.6.egg/
> rbtools/postreview.py", line 2554, in tempt_fate
>    parent_diff_content)
>  File "/usr/local/lib/python2.6/dist-packages/RBTools-0.2-py2.6.egg/
> rbtools/postreview.py", line 503, in upload_diff
>    debug("Uploading diff, size: %d" % len(diff_content))
> TypeError: object of type 'NoneType' has no len()
>
> If I run git diff between the branches I see all the differences.
>
> Does anyone knows why this is failing?
>
> The server runs 1.5.1 version.
>
> Thanks,
> Martin
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to