Mercurial > hg-stable
view tests/test-addremove.out @ 10251:a19d2993385d stable
subrepo: fix merging of already merged subrepos (issue1986)
This fixes a bug seen when merging a main repo which contains a subrepo when
both repos have been merged before. Each repo (main and sub) has two
branches, both of which have been merged before.
In a subrepo, if the revision to merge to is an ancestor of the current rev,
then the merge should be a noop.
Test provided by Steve Losh.
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 15 Jan 2010 21:08:04 +0100 |
parents | 627399330c7d |
children |
line wrap: on
line source
adding dir/bar adding foo dir/bar foo committed changeset 0:d44511117907 adding dir/bar_2 adding foo_2 dir/bar_2 foo_2 committed changeset 1:a85812e0561a adding a adding c removing a adding b removing c adding d recording removal of a as rename to b (100% similar) removing a adding b removing c adding d recording removal of a as rename to b (100% similar)