]> khamidou — GitHub mirrors - arcanist.git/commit
Fix commit range selection in Mercurial
authorepriestley <git@epriestley.com>
Thu, 15 Sep 2011 02:08:16 +0000 (19:08 -0700)
committerepriestley <git@epriestley.com>
Thu, 15 Sep 2011 14:35:36 +0000 (07:35 -0700)
commit1c9746a46edc9d246b4171c5aed0a380060e081d
treee59cbc3cc4037fee6ddf18ce753a147465a5b90a
parent02344602c1fa2875f7227ef8cc4769d267c5f4f8
Fix commit range selection in Mercurial

Summary:
  - Noncontentious Mercurial stuff from D863.
  - Use "hg outgoing --branch" to make sure we aren't including outgoing
revisions on other branches.
  - Use "hg summary" to figure out where the working copy is, so "hg up <older
rev> && arc diff" works like expected.

Test Plan: Ran "arc diff" from multiple branches with the working copy in
various states.

Reviewers: Makinde, aran, jungejason, nh, tuomaspelkonen

Reviewed By: Makinde

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