Clean up computation of upstream branch and origin.

Review Request #10089 — Created July 16, 2018 and submitted

Information

RBTools
release-1.0.x
84ac027...

Reviewers

The git client in RBTools had a bunch of crufty code to determine the
name of the remote branch and the origin URL/remote name. This change
cleans those up to be simpler and more consistent.

The self._upstream_branch attribute still isn't used for the tracking
branch--that will come in the next change.

  • Posted some changes.
  • Ran unit tests.
brennie
  1. Much cleaner!

  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.0.x (ba94a62)
Loading...