We are now using svn and reviewboard. I am trying to use svn post-commit 
hook and RBTools to generate reviewboard post review automatically for each 
svn commit.

Now I can get the revision number for each svn commit and store it in a 
text file:


@echo off
SET REPOS=%1%
SET REV=%2%
SET RPATH=PATH_TO_STORE

CALL :getfilename %REPOS%

echo %REV% >> %RPATH%\%FNAME%.txt

:success
exit 0

:getfilename
set FNAME=%~nx1



I know how to publish a review request from svn client side:

rbt post -g auto -p --server http://127.0.0.1 --repository REPO1 
--repository-type svn --username user1 --password pwd1 --debug


But I do not know how to generate a post review request through RBTools for 
a specified SVN revision. Please help :)



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

Reply via email to