Mercurial > public > mercurial-scm > hg-stable
diff mercurial/bookmarks.py @ 19896:af03279c766a
bookmarks: use "vfs.utime()" instead of "os.utime()"
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Tue, 15 Oct 2013 00:51:04 +0900 |
parents | 37c0d93fb166 |
children | d51c4d85ec23 |
line wrap: on
line diff
--- a/mercurial/bookmarks.py Tue Oct 15 00:51:04 2013 +0900 +++ b/mercurial/bookmarks.py Tue Oct 15 00:51:04 2013 +0900 @@ -8,7 +8,7 @@ from mercurial.i18n import _ from mercurial.node import hex from mercurial import encoding, error, util, obsolete -import errno, os +import errno class bmstore(dict): """Storage for bookmarks. @@ -70,7 +70,7 @@ # touch 00changelog.i so hgweb reloads bookmarks (no lock needed) try: - os.utime(repo.sjoin('00changelog.i'), None) + repo.svfs.utime('00changelog.i', None) except OSError: pass