Add additional safety checking for bzr branch checks.

Review Request #12132 — Created March 10, 2022 and submitted

david
RBTools
master
rbtools

I was hitting an issue locally where breezy would run but was not set up
for certain operations. In this case, we were hitting an error where we
would pass the existing checks but then fail to determine the correct
branch due to the output. This change adds an additional safety check to
make sure that our regex actually found what we were looking for before
accessing groups.

Ran unit tests and saw the error go away.

Summary
Add additional safety checking for bzr branch checks.
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (0452c08)
Loading...