# HG changeset patch # User Pierre-Yves David # Date 2014-09-27 08:37:56 # Node ID f48ac29c2a9e24b6df96115464556b8dd767533e # Parent 02e0a574bcd3dbdc7a25a2f506e6678bf7f71398 pull: retrieve bookmarks before obsmarkers Retrieving bookmarks before obsmarkers will avoid turning some changesets hidden right before making them visible again if a bookmark keeps them visible. diff --git a/mercurial/exchange.py b/mercurial/exchange.py --- a/mercurial/exchange.py +++ b/mercurial/exchange.py @@ -859,8 +859,8 @@ def pull(repo, remote, heads=None, force _pullbundle2(pullop) _pullchangeset(pullop) _pullphase(pullop) + _pullbookmarks(pullop) _pullobsolete(pullop) - _pullbookmarks(pullop) pullop.closetransaction() finally: pullop.releasetransaction()