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

New issue 1673 by gordon.morehouse: post-review revision-range doesn't handle single revision as advertised
http://code.google.com/p/reviewboard/issues/detail?id=1673

What version are you running?

RBTools 0.2


What steps will reproduce the problem?
1. Enter a command line with a single revision: 'post-review --revision-
range=20397'

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

The docs at http://www.reviewboard.org/docs/manual/dev/users/tools/post-
review/#posting-committed-code state that this should work.  Instead, I
get:

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/postreview.py", line
2830, in main
    repository_info)
  File "/usr/local/lib/python2.6/dist-packages/rbtools/postreview.py", line
2034, in diff_between_revisions
    r1, r2 = revision_range.split(':')
ValueError: need more than 1 value to unpack

What operating system are you using? What browser?

Ubuntu 10.04 LTS.


--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to