mercurial/revlog.py
changeset 4497 22ebd6ee5672
parent 4325 aa26759c6fb3
parent 4495 769cc8ef5b72
child 4635 63b9d2deed48
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -347,7 +347,8 @@ class revlog(object):
                 if (oldst and st.st_dev == oldst.st_dev
                     and st.st_ino == oldst.st_ino
                     and st.st_mtime == oldst.st_mtime
-                    and st.st_ctime == oldst.st_ctime):
+                    and st.st_ctime == oldst.st_ctime
+                    and st.st_size == oldst.st_size):
                     return
                 self.indexstat = st
             if len(i) > 0: