]> khamidou — GitHub mirrors - arcanist.git/commit
Add an "--update <revision>" flag to Arcanist
authorepriestley <git@epriestley.com>
Mon, 9 Jan 2012 17:33:55 +0000 (09:33 -0800)
committerepriestley <git@epriestley.com>
Mon, 9 Jan 2012 19:42:14 +0000 (11:42 -0800)
commitd3595328429037556b4b0e62aefe1f79e929fbf2
treee703c8065ed0723eedbd81cb68f99695f75c8c8c
parent9249ede9523c70975814619c695b62b5bef1a710
Add an "--update <revision>" flag to Arcanist

Summary:
See T614. This flag explicitly tells Arcanist to use the message for an existing
revision, and attach the change to it directly.

Next step is to have "arc diff" automatically choose "--create" or "--update" in
the absence of "--create", "--update", "--only", "--preview" or a template
commit message.

Test Plan:
Ran "arc diff --update <n>" for various revisions. Got updates or
errors as expected.

Reviewers: btrahan, jungejason

Reviewed By: btrahan

CC: aran, btrahan, jungejason
Maniphest Tasks: T614

Differential Revision: https://secure.phabricator.com/D1346
src/differential/commitmessage/ArcanistDifferentialCommitMessage.php
src/workflow/diff/ArcanistDiffWorkflow.php