The current implementation of --revision-range in 0.5.x is not great, and to 
post a single revision for svn, you'll need to use the 122:123 syntax that you 
already determined.

For the not-yet-released 0.6 we've done a big rework of revisions in rbtools. 
As part of this, we've fixed the single revision case. The new syntax will be 
just:

rbt post 123

If you'd like to try it out (and help us test), you can get it from the master 
branch of rbtools git.

-David

> On Jan 30, 2014, at 9:05 AM, Daniel F <[email protected]> wrote:
> 
> I haven't been able to successfully use rbt post 
> --revision-range=SINGLE_REVISION.
> It works fine if I use the syntax rbt post --revision-range=OLD_REV:NEW_REV
> Am I doing something wrong?
> 
> 
> My steps:
> Commit some files to svn revision 123.  Note: there are still modified files 
> in my working copy which I do NOT want to review.
> I want to review just the files committed in revision 123, so I type:
> rbt post --revision-range=123
> This creates a review request with a diff of the changes in my working copy 
> instead of showing me a diff of what was committed.  It was as if I posted a 
> pre-commit review by typing: rbt post .
> Suddenly it works if I type: rbt post --revision-range=122:123
> 
> Using:
> RBTools 0.5.5, ReviewBoard 1.7.21, subversion 1.7.8, python 2.7.5
> -- 
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to