# HG changeset patch # User Pierre-Yves David # Date 1407546368 25200 # Node ID 86bd794f6037fa4e0bc183351eb91bf36a5ce1dc # Parent 7632f1f7994610b16ef5d977759b28af38430483 evolve: stop pretending we are pulling markers when we don't If discovery did not found any unknown marker, we should not display the "pulling marker" message. diff -r 7632f1f79946 -r 86bd794f6037 hgext/evolve.py --- a/hgext/evolve.py Fri Aug 08 18:01:02 2014 -0700 +++ b/hgext/evolve.py Fri Aug 08 18:06:08 2014 -0700 @@ -2656,12 +2656,12 @@ return None # remote opted out of obsolescence marker exchange tr = None ui = pullop.repo.ui - obsexcmsg(ui, "pull obsolescence markers\n", True) boundaries = _buildpullobsmerkersboundaries(pullop) if not set(boundaries['heads']) - set(boundaries['common']): obsexcmsg(ui, "nothing to pull\n") return None + obsexcmsg(ui, "pull obsolescence markers\n", True) new = 0 if b2xpull: diff -r 7632f1f79946 -r 86bd794f6037 tests/test-simple4server.t --- a/tests/test-simple4server.t Fri Aug 08 18:01:02 2014 -0700 +++ b/tests/test-simple4server.t Fri Aug 08 18:06:08 2014 -0700 @@ -50,7 +50,6 @@ pulling from http://localhost:$HGPORT/ searching for changes no changes found - pull obsolescence markers $ hg pull -R ../other pulling from http://localhost:$HGPORT/ requesting all changes @@ -116,7 +115,6 @@ pulling from http://localhost:$HGPORT/ searching for changes no changes found - pull obsolescence markers $ cd .. diff -r 7632f1f79946 -r 86bd794f6037 tests/test-wireproto.t --- a/tests/test-wireproto.t Fri Aug 08 18:01:02 2014 -0700 +++ b/tests/test-wireproto.t Fri Aug 08 18:06:08 2014 -0700 @@ -23,7 +23,6 @@ $ hg clone ssh://user@dummy/server client no changes found - pull obsolescence markers updating to branch default 0 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cp -r client other @@ -45,7 +44,6 @@ pulling from ssh://user@dummy/server searching for changes no changes found - pull obsolescence markers $ hg pull -R ../other pulling from ssh://user@dummy/server requesting all changes @@ -97,7 +95,6 @@ pulling from ssh://user@dummy/server searching for changes no changes found - pull obsolescence markers $ cd ..