# HG changeset patch # User Pierre-Yves David # Date 2013-01-05 17:57:09 # Node ID 595bd4c5b13524ecb3c21ae06304ac088f9c855c # Parent 898c575833c965d8c4ca5004f57a7989fa2eefb4 discovery: drop the visiblebranchmap function diff --git a/mercurial/discovery.py b/mercurial/discovery.py --- a/mercurial/discovery.py +++ b/mercurial/discovery.py @@ -341,8 +341,3 @@ def checkheads(repo, remote, outgoing, r 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()