[PATCH 5 of 7 Series-C] discovery: drop the visiblebranchmap function

pierre-yves.david at logilab.fr pierre-yves.david at logilab.fr
Mon Jan 7 12:16:08 CST 2013


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
# Date 1357408629 -3600
# Node ID 55fea9d375d89782ac3f8949b1275ee11f76d8b5
# Parent  aad94e8108f165784cb9765a128b537689c692dd
discovery: drop the visiblebranchmap function

diff --git a/mercurial/discovery.py b/mercurial/discovery.py
--- a/mercurial/discovery.py
+++ b/mercurial/discovery.py
@@ -339,10 +339,5 @@ def checkheads(repo, remote, outgoing, r
         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()
-
-
-def visiblebranchmap(repo):
-    """return a branchmap for the visible set"""
-    return repo.filtered('unserved').branchmap()


More information about the Mercurial-devel mailing list