Page MenuHomePhabricator

Respect tracked branches in arc land
Closed, ResolvedPublic

Description

  • arc land should respect the tracked branch when choosing an onto branch, if one exists. This should have weaker strength than --onto but be stronger than arc.land.onto.default.
  • arc land should respect the tracked branch when choosing a remote, if one exists. This should have weaker strength than --remote.

Possibly we also need --remote-onto if you want to land local/branchA onto local/branchB and push it to remoteC/branchD, but this is pretty silly. You can use --hold and then execute the push yourself if you need to do this, and I don't think any users have actually hit this yet.

Event Timeline

epriestley raised the priority of this task from to Low.
epriestley updated the task description. (Show Details)
epriestley added a project: Arcanist.
epriestley added a subscriber: epriestley.

Mind if I take a crack at this? It's low pri for you guys but it matches my workflow and I'd like to have it upstream if you're willing to review it. Planning to do first two bullets, not --remote--onto.

Yep, go for it. And, yeah, skip --remote-onto.

The arc land code is a bit ugh.