Hi,

The diffs/ API is going to give you each diffset. That is, a revision of a diff 
uploaded to Review Board. Is that what you're looking for, or were you looking 
for the contents of the entire diff? Or the files contained in the diff?

It would be helpful to see what the data is that you have, what you're 
expecting to get back, and the complete workflow for testing this.

Also, what version of RBTools are you using?

Christian 

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-----Original Message-----
From: vijay bhaskar reddy Yalamuri <vijay.yalam...@gmail.com>
Reply: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Date: July 14, 2015 at 1:16:58 AM
To: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Subject:  Test program to get the list of the files which are dropped to review 
board

> Hi Review board team
>  
>  
> I am writing a test program to find out is there any change of diff files
> after posting the review request.
> I thought first I will get the list of files which are posted to the review
> board and get the corresponding time stamp and compare this time stamp with
> original defect file timestamp.
>  
> I tried to get the list of diff files using many diff api's , but all the
> api are not giving proper count.
> I have dropped 5 files, but it always giving only 2 files.
>  
>  
>  
> url = '/api/review-requests/%s/diffs/' % review_id
> datareviews = rb_server.api_get( url )
>  
>  
> Could you please help me how to get the list of diff files and it's
> corresponding file timestamp from the review board ?
>  
>  
> Thanks for understanding in advance.
>  
> Regards
> Vijay
>  
> --
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/  
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/
> Happy user? Let us know! https://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/d/optout.
>  

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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/d/optout.

Reply via email to