Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3908 by rbt post --diff-filename is broken in RBTools 0.6.3 and 0.7.3

*** You must complete this form in its entirety, or your bug report will be
*** rejected.
*** If you have a security issue to report, please send it confidentially
*** Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
*** For customer support, please post to
*** If you have a patch, please submit it to
*** This bug tracker is public. Please check that any logs or other
*** that you include has been stripped of confidential information.

What version are you running?

RBTools 0.6.3, 0.7.3

What's the URL of the page containing the problem?


What steps will reproduce the problem?
1.  Use 'rbt diff' > mydiff to create a proper diff file
2.  rbt post --diff-filename mydiff CL

What is the expected output? What do you see instead?

I expect a review with diff uploaded. Instead I get this:

Traceback (most recent call last):
  File "/home/sallan/envs/rbtools-0.7.3/bin/rbt", line 9, in <module>
    load_entry_point('RBTools==0.7.3', 'console_scripts', 'rbt')()
File "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/", line 133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
File "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/", line 612, in run_from_argv
    exit_code = self.main(*args) or 0
File "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/", line 751, in main
    if repository_info.supports_changesets and 'changenum' in diff_info:
UnboundLocalError: local variable 'diff_info' referenced before assignment

Same problem with RBTools 0.6.3.
Works correctly in 0.5.2.

What operating system are you using? What browser?

Mac OS-X, CentOS 6.6
Python 2.6.6
RB 1.7.28
Firefox, Safari, Chrome

Please provide any additional information below.

RBTools 0.5.2  :  works
RBTools 0.6.3  :  error
RBTools 0.7.3  :  error

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to