discovery: drop the visibleheads function
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Sun, 06 Jan 2013 04:50:14 +0100
changeset 18284 e4be4e2ac814
parent 18283 ac25d75970c8
child 18285 9589227657bc
discovery: drop the visibleheads function It has no users left. (Using filtering explicitly is easier.)
mercurial/discovery.py
--- a/mercurial/discovery.py	Sun Jan 06 04:48:22 2013 +0100
+++ b/mercurial/discovery.py	Sun Jan 06 04:50:14 2013 +0100
@@ -337,7 +337,3 @@
     # 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()