changeset 18284:e4be4e2ac814

discovery: drop the visibleheads function It has no users left. (Using filtering explicitly is easier.)
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Sun, 06 Jan 2013 04:50:14 +0100
parents ac25d75970c8
children 9589227657bc
files mercurial/discovery.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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()