]> khamidou — GitHub mirrors - arcanist.git/commit
arc land: add --delete-remote, raise an error for landing a branch onto itself
authorepriestley <git@epriestley.com>
Thu, 10 May 2012 19:14:53 +0000 (12:14 -0700)
committerepriestley <git@epriestley.com>
Thu, 10 May 2012 19:14:53 +0000 (12:14 -0700)
commit86ead1b8f1573b5dcdc7ce037228f1f724e37b4b
treeaf0d0a91f9622394460903abd1e69178b9d790e3
parent9d5c5f6310b61a216f26f82c106b8f77da9e571e
arc land: add --delete-remote, raise an error for landing a branch onto itself

Summary:
  - Allow users to delete the remote copy of a feature branch as well as the local one, for workflows that push feature branches. We test if the remote exists before trying to delete it.
  - Raise a better warning when you misuse "arc land".
  - I also wrote some documentation about this, see next diff.

Test Plan:
  - Tried to land a branch onto itself.
  - Ran "arc land --delete-remote" on feature branches with and without remote feature branches.

Reviewers: aurelijus, btrahan

Reviewed By: aurelijus

CC: aran
Maniphest Tasks: T1204

Differential Revision: https://secure.phabricator.com/D2445
src/workflow/land/ArcanistLandWorkflow.php