# HG changeset patch # User Pierre-Yves David # Date 2015-07-01 08:09:57 # Node ID ce45bfe8f95363d99e12c0b5570048abb166cfd8 # Parent d859123e0f47a398f4b7f0c7485de67e5ed34f31 bookmark: remove the "touch changelog" hack Any changes to bookmarks used to touch the changelog to ensure hgweb was reloaded. This was fairly hacky and stops working when bookmarks are moved as part of the transaction. As hgweb is now explicitly tracking bookmark changes, we can remove this hack (and no tests break). diff --git a/mercurial/bookmarks.py b/mercurial/bookmarks.py --- a/mercurial/bookmarks.py +++ b/mercurial/bookmarks.py @@ -94,12 +94,6 @@ class bmstore(dict): self._write(file) file.close() - # touch 00changelog.i so hgweb reloads bookmarks (no lock needed) - try: - repo.svfs.utime('00changelog.i', None) - except OSError: - pass - finally: wlock.release()