eol: document why os.utime doesn't work here
I wanted to use
os.utime(self.join("eol.cache"), None)
as a cleaner way of touching the cache file -- but this fails when the
cache doesn't exist.
--- a/hgext/eol.py Sun Mar 18 18:21:58 2012 -0500
+++ b/hgext/eol.py Thu Mar 15 16:52:22 2012 +0100
@@ -315,7 +315,7 @@
# again since the new .hgeol file might no
# longer match a file it matched before
self.dirstate.normallookup(f)
- # Touch the cache to update mtime.
+ # Create or touch the cache to update mtime
self.opener("eol.cache", "w").close()
wlock.release()
except error.LockUnavailable: