hgweb: also monitor change to bookmarks
authorPierre-Yves David <pierre-yves.david@fb.com>
Tue, 30 Jun 2015 23:55:22 -0700
changeset 25720 bd2e171d023b
parent 25719 c51a18609a7f
child 25721 5b9b70635423
hgweb: also monitor change to bookmarks This makes changes to bookmarks visible to hgweb through the official way. There is no change to tests because there is currently another hack in place to ensure the same behavior.
mercurial/hgweb/hgweb_mod.py
--- a/mercurial/hgweb/hgweb_mod.py	Wed Jul 01 01:02:27 2015 -0700
+++ b/mercurial/hgweb/hgweb_mod.py	Tue Jun 30 23:55:22 2015 -0700
@@ -32,6 +32,7 @@
 foi = [('spath', '00changelog.i'),
        ('spath', 'phaseroots'), # ! phase can change content at the same size
        ('spath', 'obsstore'),
+       ('path', 'bookmarks'), # ! bookmark can change content at the same size
       ]
 
 def makebreadcrumb(url, prefix=''):