Add additional safety checking for bzr branch checks.

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

Information

RBTools
master

Reviewers

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 ID
Add additional safety checking for bzr branch checks.
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. Testing Done: Ran unit tests and saw the error go away.
5f01f6a8b029ffb3bf5d124259e6cc03bc7c5ae7
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

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