]> khamidou — GitHub mirrors - arcanist.git/commit
Use full-length hashes in Mercurial local commit information
authorepriestley <git@epriestley.com>
Mon, 26 Sep 2011 21:35:42 +0000 (14:35 -0700)
committerepriestley <git@epriestley.com>
Mon, 26 Sep 2011 22:13:18 +0000 (15:13 -0700)
commitfe5355e4e468f7cc9d45c565f74be22db453748b
tree12fd9670779d38a7620671528e61b708332bc563
parentef0a9cbb79b5a9c9fccbf60c2e4234cb7c245012
Use full-length hashes in Mercurial local commit information

Summary:
Expand 12-character hashes to 40-character hashes so other things will work
properly.

Also use "hg id" instead of "hg summary" to figure out where the working copy
is, since it's substantially simpler.

Test Plan: Ran "arc diff" and got properly 40-character hashes.

Reviewers: Makinde, aran

Reviewed By: Makinde

CC: aran, Makinde
Differential Revision: 962
src/repository/api/mercurial/ArcanistMercurialAPI.php
src/repository/api/mercurial/__init__.php