mercurial/hgweb/webcommands.py
branchstable
changeset 18478 886936ecc21b
parent 18477 010d6d3fcfee
child 18497 a58d8936647a
--- a/mercurial/hgweb/webcommands.py	Fri Jan 25 14:50:18 2013 -0600
+++ b/mercurial/hgweb/webcommands.py	Fri Jan 25 11:43:54 2013 -0600
@@ -424,7 +424,7 @@
                 latestentry=lambda **x: entries(True, True, **x))
 
 def bookmarks(web, req, tmpl):
-    i = web.repo._bookmarks.items()
+    i = [b for b in web.repo._bookmarks.items() if b[1] in web.repo]
     parity = paritygen(web.stripecount)
 
     def entries(latestonly, **map):