Mercurial > hg-stable
view tests/test-unrelated-pull.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 | 8c4fd0de5de8 |
children | 4c94b6d0fb1c |
line wrap: on
line source
pulling from ../a searching for changes abort: repository is unrelated pulling from ../a searching for changes warning: repository is unrelated adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) (run 'hg heads' to see heads, 'hg merge' to merge) changeset: 1:bdcee5d51fa6 tag: tip parent: -1:000000000000 user: a date: Mon Jan 12 13:46:40 1970 +0000 summary: a changeset: 0:f155ba1aa5ba user: b date: Mon Jan 12 13:46:40 1970 +0000 summary: b