branch heads: fix regression introduced in
e67e5b60e55f (
issue1726)
For merge nodes it is not adequate to only check a single possible
branch head for whether it is an ancestor of the latest head, but it
needs to be done for each possible branch head.
# -- setting up base repo
adding a
# -- cloning base repo
updating working directory
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
# -- setting up cset to push
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
adding a
created new head
# -- pushing
pushing to ../a
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 0 changes to 0 files (+1 heads)