Mercurial > hg-stable
comparison mercurial/revlog.py @ 4497:22ebd6ee5672
merge with crew-stable
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 04 Jun 2007 00:26:53 -0300 |
parents | aa26759c6fb3 769cc8ef5b72 |
children | 63b9d2deed48 |
comparison
equal
deleted
inserted
replaced
4496:b79cdb7f0597 | 4497:22ebd6ee5672 |
---|---|
345 else: | 345 else: |
346 oldst = self.indexstat | 346 oldst = self.indexstat |
347 if (oldst and st.st_dev == oldst.st_dev | 347 if (oldst and st.st_dev == oldst.st_dev |
348 and st.st_ino == oldst.st_ino | 348 and st.st_ino == oldst.st_ino |
349 and st.st_mtime == oldst.st_mtime | 349 and st.st_mtime == oldst.st_mtime |
350 and st.st_ctime == oldst.st_ctime): | 350 and st.st_ctime == oldst.st_ctime |
351 and st.st_size == oldst.st_size): | |
351 return | 352 return |
352 self.indexstat = st | 353 self.indexstat = st |
353 if len(i) > 0: | 354 if len(i) > 0: |
354 v = struct.unpack(versionformat, i)[0] | 355 v = struct.unpack(versionformat, i)[0] |
355 flags = v & ~0xFFFF | 356 flags = v & ~0xFFFF |