Show More
@@ -70,7 +70,7 class cmdstate(object): | |||||
70 | data in the same format as it was before storing""" |
|
70 | data in the same format as it was before storing""" | |
71 | with self._repo.vfs(self.fname, 'rb') as fp: |
|
71 | with self._repo.vfs(self.fname, 'rb') as fp: | |
72 | try: |
|
72 | try: | |
73 |
|
|
73 | int(fp.readline()) | |
74 | except ValueError: |
|
74 | except ValueError: | |
75 | raise error.ProgrammingError("unknown version of state file" |
|
75 | raise error.ProgrammingError("unknown version of state file" | |
76 | " found") |
|
76 | " found") |
General Comments 0
You need to be logged in to leave comments.
Login now