# HG changeset patch # User Pierre-Yves David # Date 1435738197 25200 # 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 -r d859123e0f47 -r ce45bfe8f953 mercurial/bookmarks.py --- a/mercurial/bookmarks.py Mon Jun 29 13:44:24 2015 -0700 +++ b/mercurial/bookmarks.py Wed Jul 01 01:09:57 2015 -0700 @@ -94,12 +94,6 @@ 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()