RBTools 2.0 is out, bringing compatibility improvements and new features for all users. The biggest improvement is the support for Review Board 4.0’s upcoming multi-commit review requests.
Multi-Commit Review Requests
Review Board 4.0 beta 1 is coming in the next few weeks, and with RBTools 2.0, developers will be able to post a series of commits to a review request so that they can be reviewed individually or as one squashed change, depending on what the reviewer chooses to do.
Those changes can also be landed, preserving their history or squashing them back into a single commit.
To stay with the old behavior and squash the commits before posting to a review request, you can pass –squash to rbt post or rbt land (or set
SQUASH_HISTORY = True or
LAND_SQUASH = True, respectively, in
This is available for both Git and Mercurial, and will require Review Board 4.0.
RBCommons users will receive multi-commit review request support in 2021.
Custom Certificate Authorities
If your Review Board server uses a self-signed certificate backed by an in-house Certificate Authority, you can now configure RBTools to recognize it through the
--client-cert options (or
Easier Repository Setup
rbt setup-repo has been redesigned to better help people configure their local repositories to connect to Review Board. It offers a more helpful guided setup, making it easier to find the right repository and generate your
Default Branches in Git
RBTools now understands the
init.defaultBranch configuration for Git, helping you transition your primary branch from
master to something like
Better Mercurial Integration
Compatibility issues are fixed, repository detection is faster, and custom scripts can benefit from performance improvements by connecting RBTools to the Mercurial command server.
And Better Perforce Integration
RBTools can work with a wider mix of configurations utilizing SSL and brokers.
There’s also a new
reviewboard.repository_name Perforce counter that can tie a depot to a Review Board repository, which can be used if
.reviewboardrc isn’t an option.
- Variety of improvements for Python 3 compatibility (including support for Python 3.9).
- Additional Git arguments for fine-tuning rename detection.
- Custom formatting for rbt status, which is useful for scripting.
- rbt land and rbt patch now accept a review request URL, instead of just an ID.
- rbt patch can print a patch from a review request without needing a local copy of the repository.
See the release notes for more information, or download RBTools 2.0 today.