« Previous | Next »
post-review, git-svn and Review Board
Published on 02/06/10
by andrewhao
Here’s how to set up the excellent VMware-developed open-source Review Board and its post-review command line review creation utility to work with git and git-svn on your computer.
My assumption is that you’re working with a local Git repository that is remotely linked to an SVN repository via the git-svn bridge. Let’s assume that your master branch is synced with the SVN repository, and you’re working on bug_12345_branch.
- Make sure you have RBTools installed (
sudo easy_install rbtoolsfor me on Ubuntu Linux), and Review Board set up elsewhere. - Add a link to your Review Board URL in .git/config:
[reviewboard] url = https://(url_for_review_board)/
- Make sure all your changes in
bug_12345_branchhave been locally committed. post-review -o, and…- Voila! You should have a new review up on your Review Board instance.
- (After you get reviews, you can modify
bug_12345_branch, pull the changes into master, and thengit svn dcommit, blah, blah, blah.)
That's it. What Next?
Please leave your comment so we know what you think about this article. Trackback URL: post-review, git-svn and Review Board.
Leave a Reply