Show More
@@ -444,7 +444,10 b' class revlog(object):' | |||
|
444 | 444 | i = '' |
|
445 | 445 | try: |
|
446 | 446 | f = self.opener(self.indexfile) |
|
447 | i = f.read(_prereadsize) | |
|
447 | if "nonlazy" in getattr(self.opener, 'options', {}): | |
|
448 | i = f.read() | |
|
449 | else: | |
|
450 | i = f.read(_prereadsize) | |
|
448 | 451 | if len(i) > 0: |
|
449 | 452 | v = struct.unpack(versionformat, i[:4])[0] |
|
450 | 453 | except IOError, inst: |
General Comments 0
You need to be logged in to leave comments.
Login now