# HG changeset patch # User Pierre-Yves David # Date 2013-01-06 03:50:14 # Node ID e4be4e2ac8144520a6a9c8fa79cdbe6fed5e5538 # Parent ac25d75970c8842e4d4e40729421435d2a646da9 discovery: drop the visibleheads function It has no users left. (Using filtering explicitly is easier.) diff --git a/mercurial/discovery.py b/mercurial/discovery.py --- a/mercurial/discovery.py +++ b/mercurial/discovery.py @@ -337,7 +337,3 @@ def checkheads(repo, remote, outgoing, r # 6. Check for unsynced changes on involved branches. if unsynced: repo.ui.warn(_("note: unsynced remote changes!\n")) - -def visibleheads(repo): - """return the set of visible head of this repo""" - return repo.filtered('unserved').heads()