HomePhabricator

Examine upstream path instead of assuming "origin"

Description

Examine upstream path instead of assuming "origin"

Summary:
Instead of blindly assuming that "origin" is the repository that
arcanist should communicate with, use the remote that is configured
for the branch in git.

Test Plan:
Used arc which with a branch with no upstream, an
origin/master upstream, and an upstream/master upstream -- the last of
which is being used to create and land this diff.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: joshuaspence, Korvin

Differential Revision: https://secure.phabricator.com/D14530

Details

Provenance
alexmvAuthored on
alexmvPushed on Nov 23 2015, 6:29 PM
Reviewer
Blessed Reviewers
Differential Revision
D14530: Examine upstream path instead of assuming "origin"
Parents
rARCb32149495b85: Don't give Mercurial empty string as a remote name
Branches
Unknown
Tags
Unknown
Build Status
Buildable 9013
Build 10589: Run Core Tests