]> khamidou — GitHub mirrors - arcanist.git/commit
Make --revision switch of amend workflow easier to use
authorMarek Sapota <mareksapota@fb.com>
Tue, 13 Dec 2011 19:38:45 +0000 (11:38 -0800)
committerMarek Sapota <mareksapota@fb.com>
Tue, 13 Dec 2011 19:41:11 +0000 (11:41 -0800)
commit3abebbebfddea6b4fcd030405eb4f3e012dc37a8
treedc268be22d3298776f0060a88cb29655130be106
parentb5a104765a885836024e1b88cb225b478813d324
Make --revision switch of amend workflow easier to use

Summary:
--revision doesn't allow the revision to be prefixed with 'D'.  Also the error
message showed when specified revision doesn't exist is hard to understand.

Test Plan:
Used `arc amend --revision D123`, tried it without 'D' and with a non existing
revision.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley
Differential Revision: 1193
src/workflow/amend/ArcanistAmendWorkflow.php