]> khamidou — GitHub mirrors - arcanist.git/commit
Don't prepopulate update message in hg amend diff workflow
authordurham <durham@fb.com>
Mon, 17 Jun 2013 18:40:58 +0000 (11:40 -0700)
committerdurham <durham@fb.com>
Mon, 17 Jun 2013 18:40:58 +0000 (11:40 -0700)
commitb713eb51c978cf613550219ed764493f4338af0c
tree430392358a4cb5a74f1cf526a7277cda32fa8f3c
parentc38bc4376c2d51fc1c1137eee7bbc2dd5528e351
Don't prepopulate update message in hg amend diff workflow

Summary:
Previously, updating a commit via arc diff in mercurial would
prepopulate the update message with part of the commit message.  In an
amend workflow this doesn't make sense, so I disabled it. Git already
does this, so now mercurial matches git in this scenario.

We had users complain that new users would often submit diffs with the
default update message, and it wasn't useful since they were using a
amend flow.

Test Plan:
arc diff on a commit that already had a diff
Verified the editor did not have a update message
arc diff on a stack of commits where the bottom one had a diff
Verified the editor provided a default update message

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D6215
src/workflow/ArcanistDiffWorkflow.php