Update SCMToolRegistry to utilize the new registry changes.

Review Request #13811 — Created May 2, 2024 and submitted — Latest diff uploaded

Information

Review Board
release-7.x

Reviewers

Djblets 5's Registry class now supports threading and thread-safe
processing hooks. Since SCMToolRegistry performs some additional
processing for population and registration, we can now take advantage of
those hooks in order to ensure thread-safety.

This change simply switches to use the new hooks. No real logic changes
are involved.

Unit tests pass.

Posted changes for review and viewed diffs without any issues.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Update SCMToolRegistry to utilize the new registry changes.
Djblets 5's `Registry` class now supports threading and thread-safe processing hooks. Since `SCMToolRegistry` performs some additional processing for population and registration, we can now take advantage of those hooks in order to ensure thread-safety. This change simply switches to use the new hooks. No real logic changes are involved.
31322cf40bc959fff483ddf55a8611a586d5e6ba Christian Hammond
reviewboard/scmtools/registry.py
Loading...