Hi Sassan,

The latest docs have some instructions on how to use post-review with
Clearcase. In fact, it's the only way to post a review with Clearcase.


I wrote it using some unix-ish examples, but I actually tested the
instructions under Windows. post-review's Clearcase support is fairly
crude, but it will work for reviewing modified code in a view that has
not been checked in.

Note that you actually need to modify post-review.py to make it work
in your environment, so I recommend pulling it from git and running
setup.py develop. If someone wants to just add these hard-coded values
as options, this won't be necessary anymore.


On Jan 14, 7:07 pm, Sassan <sassan...@verifone.com> wrote:
> Does anyone know what is and is not currently supported for ClearCase
> as an SCM tool on Windows?
> For example I see instructions for posting commited code reviews using
> post-review.exe under ClearCase section 
> inhttp://www.reviewboard.org/docs/manual/1.0/users/tools/post-review/
> Does the "Todo" mean it is only on the wish list and not yet
> implemented?
> I also see a --label=<LABEL> under ClearCase options for post-
> review.exe but I am not clear as to how a single label can designate a
> diff of two distinct revisions.
> I tried this anyway and I got::
> Traceback (most recent call last):
>   File "C:\Python25\Scripts\post-review-script.py", line 8, in
> <module>    load_entry_point('RBTools==0.2beta2', 'console_scripts',
> 'post-review')()
>   File "C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg
> \rbtools\postreview.py", line 2509, in main
>   File "C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg
> \rbtools\postreview.py", line 954, in diff_label
>   File "C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg
> \rbtools\postreview.py", line 947, in diff
>   File "C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg
> \rbtools\postreview.py", line 811, in get_extended_namespace
>   File "C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg
> \rbtools\postreview.py", line 790, in get_previous_version
> ValueError: too many values to unpack
> Do you know how I get to the postreview.py script inside the rbtools
> egg to modify it?
> On the other hand it is easy enough for me to generate the diffs
> myself out of ClearCase, but is there any way for me post these
> directly into the RB server ?
> Maybe by passing them to post-review.exe but only to be posted to the
> RB server ?
> Thanks,
> Sassan
Want to help the Review Board project? Donate today at 
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to