mercurial/wireproto.py
branchstable
changeset 16535 39d1f83eb05d
parent 16532 9eba72cdde34
child 16683 525fdb738975
--- a/mercurial/wireproto.py	Fri Apr 27 13:18:09 2012 -0500
+++ b/mercurial/wireproto.py	Tue Apr 24 16:32:44 2012 +0200
@@ -396,7 +396,7 @@
     return "".join(r)
 
 def branchmap(repo, proto):
-    branchmap = repo.branchmap()
+    branchmap = phases.visiblebranchmap(repo)
     heads = []
     for branch, nodes in branchmap.iteritems():
         branchname = urllib.quote(encoding.fromlocal(branch))