Mercurial > hg
diff tests/test-obsolete-divergent.t @ 45156:c26335fa4225
exchange: check actually missing revs for obsolete / unstable revs (issue6372)
The previous code was using `outgoing.ancestorsof`, which was originally called
`outgoing.missingheads` although not containing the missing heads. This
confusion was probably the reason why the buggy code was written.
The actually outgoing changesets are stored in `outgoing.missing`. By checking
all outgoing changesets, we avoid the problem and can show the list of all
obsolete or unstable changesets, which is more helpful for the user.
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Fri, 17 Jul 2020 08:21:31 +0200 |
parents | 48b99af7b4b3 |
children | 6063c1857d0a |
line wrap: on
line diff
--- a/tests/test-obsolete-divergent.t Fri Jul 17 07:59:20 2020 +0200 +++ b/tests/test-obsolete-divergent.t Fri Jul 17 08:21:31 2020 +0200 @@ -118,7 +118,9 @@ $ hg push ../other pushing to ../other searching for changes - abort: push includes content-divergent changeset: 392fd25390da! + abort: push includes unstable changesets: + 82623d38b9ba (content-divergent) + 392fd25390da (content-divergent) [255] $ cd ..