Mercurial > evolve
diff tests/test-wireproto.t @ 1278:5ff8a5d85b2b stable
getbundleobsmarker: prevent crash from filtered content (issue4616)
The discovery may discover common markers on non-served nodes. This lead to
crash when building the obsmarker part.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Tue, 21 Apr 2015 16:52:08 +0200 |
parents | 0ac2ad8e7235 |
children | 73eb4f33f9dc |
line wrap: on
line diff
--- a/tests/test-wireproto.t Tue Apr 21 17:37:19 2015 +0200 +++ b/tests/test-wireproto.t Tue Apr 21 16:52:08 2015 +0200 @@ -126,5 +126,27 @@ 2 new obsolescence markers (run 'hg update' to get a working copy) +some common hidden + + $ hg touch . + $ hg push + pushing to ssh://user@dummy/server + searching for changes + remote: adding changesets + remote: adding manifests + remote: adding file changes + remote: added 1 changesets with 0 changes to 1 files (+1 heads) + remote: obsmarker-exchange: 208 bytes received + remote: 1 new obsolescence markers + $ hg -R ../other pull + pulling from ssh://user@dummy/server + searching for changes + adding changesets + adding manifests + adding file changes + added 1 changesets with 0 changes to 3 files (+1 heads) + obsmarker-exchange: 208 bytes received + 1 new obsolescence markers + (run 'hg heads' to see heads, 'hg merge' to merge) + $ cd .. -