]> khamidou — GitHub mirrors - arcanist.git/commit
Approximate "git merge-base" in Mercurial
authorepriestley <git@epriestley.com>
Fri, 6 Jan 2012 21:14:41 +0000 (13:14 -0800)
committerepriestley <git@epriestley.com>
Fri, 6 Jan 2012 23:10:16 +0000 (15:10 -0800)
commit9249ede9523c70975814619c695b62b5bef1a710
tree5f7aed7021a6bf65aaf1ee0522437cffd099da44
parentc49e9863d40cce12cf1f4842402523a404d9ecd5
Approximate "git merge-base" in Mercurial

Summary: Find the relative commit by finding the first non-outgoing commit, so
we don't show changes caused by merges we've performed since the last time we
pushed.

Test Plan: Checked out two hg working copies, A and B. Made a change in A. Made
a change in B. Pushed B. Merged in A. Made another change in A. Ran "arc diff"
in A. Got only changes I made in A in the diff, not the change from B.

Reviewers: Makinde, btrahan, jungejason

Reviewed By: btrahan

CC: aran, btrahan
Differential Revision: https://secure.phabricator.com/D1339
src/repository/api/mercurial/ArcanistMercurialAPI.php