Don't initialize repositories until after we've loaded TREES.
Review Request #14567 — Created Aug. 21, 2025 and submitted — Latest diff uploaded
I'm not sure when this regressed (perhaps a bad merge at some point),
but running commands that use repositories were not loading
configuration from theTREES
setting first. This meant that if a given
checkout required configuration from that setting in order to properly
initialize the repository, commands would error out.This change reorders things so we load data from TREES before requiring
the repository to be present.
Successfully used
rbt stamp
in a checkout that requiredTREES
.