author | Matt Mackall <mpm@selenic.com> |
Wed, 23 Jun 2010 13:38:52 -0500 | |
branch | stable |
changeset 11440 | 5fe4302cfd72 |
parent 11439 | 778377be3662 |
child 11441 | d74fe370ab04 |
--- a/hgext/bookmarks.py Tue Jun 22 21:36:09 2010 +0200 +++ b/hgext/bookmarks.py Wed Jun 23 13:38:52 2010 -0500 @@ -53,6 +53,13 @@ for refspec, node in refs.iteritems(): file.write("%s %s\n" % (hex(node), refspec)) file.rename() + + # touch 00changelog.i so hgweb reloads bookmarks (no lock needed) + try: + os.utime(repo.sjoin('00changelog.i'), None) + except OSError: + pass + finally: wlock.release()