Page MenuHomePhabricator

Allow setting --delete-remote on .arcrc
Closed, InvalidPublic

Description

I would like to set somewhere that the default behavior for arc should be to always do --delete-remote on arc land.
My main interaction with arc is with a Puppet repo where all git branches are mapped to puppet environments. So in a normal diff workflow, we:

  • do a branch, commit changes
  • push branch
  • test as a puppet environment
  • create the diff
  • (repeat above until the diff is accepted)
  • land the diff
  • remove the origin branch

We always forget to remove the branches from upstream when the change is landed. Arc supports auto-deleting the remote branch as well as the local one, but we always forget to use the switch. Setting it in ~/.arcrc would be helpful.