# HG changeset patch # User Pierre-Yves David # Date 1429630639 -7200 # Node ID 0ac2ad8e7235deff81028af3903ec028109a4005 # Parent 18a18131e92f49f1d04b4e401734bbff5e0ebe22 test-wireproto: add some obsmarker discovery usage. The old code was never checking that the discovery were skipping common markers. This is now done. diff -r 18a18131e92f -r 0ac2ad8e7235 tests/test-wireproto.t --- a/tests/test-wireproto.t Tue Apr 21 17:37:59 2015 +0200 +++ b/tests/test-wireproto.t Tue Apr 21 17:37:19 2015 +0200 @@ -98,5 +98,33 @@ searching for changes no changes found +Test some markers discovery +=========================== + + $ echo c > C + $ hg add C + $ hg commit -m C + $ echo c >> C + $ hg amend + $ 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 1 changes to 1 files + remote: obsmarker-exchange: 139 bytes received + remote: 2 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 1 changes to 1 files + obsmarker-exchange: 139 bytes received + 2 new obsolescence markers + (run 'hg update' to get a working copy) + $ cd ..