facebook/arcanist — pull request #36 by phleet (2012-06-11 14:08:43+00:00)
Title: Use .^ instead of HEAD^ for mercurial

Summary:
##arc amend## in a mercurial repo was failing with this message

Usage Exception: Commit 'HEAD^' is not a valid Mercurial commit identifier.

mercurial's .^ is about the same thing as git's HEAD^

Test Plan:
##arc amend## in a mercurial repo with ##"immutable_history" : "false"## in the
##.arcconfig##.

Reviewers: epriestley

Reviewed By: epriestley

CC: vrana, aran, Korvin

Differential Revision: https://secure.phabricator.com/D2690