mercurial/revlog.py
changeset 4495 769cc8ef5b72
parent 4314 43dedce9667e
child 4497 22ebd6ee5672
equal deleted inserted replaced
4494:99f411ba0380 4495:769cc8ef5b72
   344             else:
   344             else:
   345                 oldst = self.indexstat
   345                 oldst = self.indexstat
   346                 if (oldst and st.st_dev == oldst.st_dev
   346                 if (oldst and st.st_dev == oldst.st_dev
   347                     and st.st_ino == oldst.st_ino
   347                     and st.st_ino == oldst.st_ino
   348                     and st.st_mtime == oldst.st_mtime
   348                     and st.st_mtime == oldst.st_mtime
   349                     and st.st_ctime == oldst.st_ctime):
   349                     and st.st_ctime == oldst.st_ctime
       
   350                     and st.st_size == oldst.st_size):
   350                     return
   351                     return
   351                 self.indexstat = st
   352                 self.indexstat = st
   352             if len(i) > 0:
   353             if len(i) > 0:
   353                 v = struct.unpack(versionformat, i)[0]
   354                 v = struct.unpack(versionformat, i)[0]
   354         flags = v & ~0xFFFF
   355         flags = v & ~0xFFFF