##// END OF EJS Templates
revlog: use revlog.display_id for corruption error...
marmoute -
r47929:e1936ae2 default
parent child Browse files
Show More
@@ -578,7 +578,7 b' class revlog(object):'
578 index.update_nodemap_data(*nodemap_data)
578 index.update_nodemap_data(*nodemap_data)
579 except (ValueError, IndexError):
579 except (ValueError, IndexError):
580 raise error.RevlogError(
580 raise error.RevlogError(
581 _(b"index %s is corrupted") % self._indexfile
581 _(b"index %s is corrupted") % self.display_id
582 )
582 )
583 self.index, self._chunkcache = d
583 self.index, self._chunkcache = d
584 if not self._chunkcache:
584 if not self._chunkcache:
@@ -297,7 +297,7 b' test revlog corruption'
297 checking manifests
297 checking manifests
298 crosschecking files in changesets and manifests
298 crosschecking files in changesets and manifests
299 checking files
299 checking files
300 a@1: broken revlog! (index data/a.i is corrupted)
300 a@1: broken revlog! (index data/a is corrupted)
301 warning: orphan data file 'data/a.i'
301 warning: orphan data file 'data/a.i'
302 checked 2 changesets with 0 changes to 1 files
302 checked 2 changesets with 0 changes to 1 files
303 1 warnings encountered!
303 1 warnings encountered!
General Comments 0
You need to be logged in to leave comments. Login now