]> khamidou — GitHub mirrors - arcanist.git/commit
Use 'arc which' in 'arc amend'
authorepriestley <git@epriestley.com>
Wed, 25 Jan 2012 19:40:22 +0000 (11:40 -0800)
committerepriestley <git@epriestley.com>
Wed, 25 Jan 2012 19:40:22 +0000 (11:40 -0800)
commit5a894ba0d5568b670ce68c7cf3820c174ec3e10c
tree780d9161aafb9634b963d559566739bb1464b1a4
parent3ee01bacac390e16fe313719a86e6b1a050d0076
Use 'arc which' in 'arc amend'

Summary:
  - Allow 'arc amend' to identify revisions by hash and branch, so it works with
"arc diff --create".
  - Warn when the requested revision is not (apparently) in the working copy.

Test Plan:
Ran "arc amend" in working copies with different states (right
revision, wrong revision, hash/branch identification).

Reviewers: btrahan, jungejason

Reviewed By: btrahan

CC: aran, epriestley
Maniphest Tasks: T723

Differential Revision: https://secure.phabricator.com/D1480
src/workflow/amend/ArcanistAmendWorkflow.php
src/workflow/amend/__init__.php