comparison mercurial/revlog.py @ 27441:e47841c8343d stable

revlog: fix bad indentation (replace tab by space)
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 18 Dec 2015 20:54:41 -0800
parents e240e914d226
children 77c51a56392e
comparison
equal deleted inserted replaced
27430:e240e914d226 27441:e47841c8343d
1436 # if the file was seeked to before the end. See issue4943 for more. 1436 # if the file was seeked to before the end. See issue4943 for more.
1437 # 1437 #
1438 # We work around this issue by inserting a seek() before writing. 1438 # We work around this issue by inserting a seek() before writing.
1439 # Note: This is likely not necessary on Python 3. 1439 # Note: This is likely not necessary on Python 3.
1440 ifh.seek(0, os.SEEK_END) 1440 ifh.seek(0, os.SEEK_END)
1441 if dfh: 1441 if dfh:
1442 dfh.seek(0, os.SEEK_END) 1442 dfh.seek(0, os.SEEK_END)
1443 1443
1444 curr = len(self) - 1 1444 curr = len(self) - 1
1445 if not self._inline: 1445 if not self._inline:
1446 transaction.add(self.datafile, offset) 1446 transaction.add(self.datafile, offset)