]> khamidou — GitHub mirrors - arcanist.git/commit
Prefill template update message in Mercurial during --update
authorepriestley <git@epriestley.com>
Wed, 29 Feb 2012 00:59:40 +0000 (16:59 -0800)
committerepriestley <git@epriestley.com>
Wed, 29 Feb 2012 00:59:40 +0000 (16:59 -0800)
commit1f13e022cdc9bf4859274a83784bd615caf62ef9
tree49fa53fcba1650ddda151401fd4c98739d01ae6e
parentbb4616cd7c703d393b844e1812295b392b4e2eb2
Prefill template update message in Mercurial during --update

Summary:
When a user invokes the update flow from Mercurial, prefill the update message
like we do for Git.

Also add a little caching to improve performance since "hg" execs cost ~100ms.

Test Plan: Updated a Mercurial diff repeatedly, got sensible default message
fills.

Reviewers: Makinde, btrahan

Reviewed By: Makinde

CC: aran, epriestley
Maniphest Tasks: T28

Differential Revision: https://secure.phabricator.com/D1718
src/repository/api/mercurial/ArcanistMercurialAPI.php
src/workflow/diff/ArcanistDiffWorkflow.php