On Monday, December 9, 2013 6:34:48 PM UTC+5:30, Mahen wrote:
> Hi,
> I am trying to post a review comment using WebAPI and python script.
> I first find out filediff_id and then I send review comment using line 
> number which is with respect to modified file but what I am observing in 
> GUI is that, my comment is posted with respect to original file and not 
> with respect to patched file.
> So if I am posting comment on line 60 of patched file then comment is 
> posted on 60th line of original file.
> I am using following call to post comment
> review.get_diff_comments().create(
>                                 filediff_id=fileDiffID,
>                                 first_line=patchedFileLineNumber,
>                                 num_lines=1,
>                                 text=Textdata,
>                                 issue_opened= true)
> Can anyone tell me how can i do this?
> mahen

Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
Happy user? Let us know at http://www.reviewboard.org/users/
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to