1617: post-review fails on svn revision of a branch creation

assaf*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Sept. 30, 2012
1065
What version are you running?
1.0.6


What steps will reproduce the problem?
1. Create a branch in some revision R in svn
2. Try post-review with revision-range=R:R
3. It hangs for a while then crashes with the following error:




What operating system are you using? What browser?
XP 64 bit

Please provide any additional information below.

Traceback (most recent call last):
  File "c:\Python25\Scripts\post-review-script.py", line 8, in <module>
    load_entry_point('RBTools==0.2rc2.dev', 'console_scripts', 'post-
review')()
  File "build\bdist.win32\egg\rbtools\postreview.py", line 2860, in main
  File "build\bdist.win32\egg\rbtools\postreview.py", line 2553, in 
tempt_fate
  File "build\bdist.win32\egg\rbtools\postreview.py", line 525, in 
upload_diff
  File "build\bdist.win32\egg\rbtools\postreview.py", line 647, in api_post
  File "build\bdist.win32\egg\rbtools\postreview.py", line 619, in 
http_post
  File "build\bdist.win32\egg\rbtools\postreview.py", line 674, in 
_encode_multi
part_formdata



This is consistent for every revision that represents a branch operation. I 
have a post-commit hook that uploads all revisions to reviewboard, and at 
the moment it fails whenever someone branches.
Is there maybe a way of telling reviewboard to ignore such revisions until 
this bug is fixed?
david
#1 david
  • +Component-RBTools
david
#2 david
Merging related issues