##// END OF EJS Templates
revlog: use revlog.display_id in integrity error...
marmoute -
r47931:0a66eef0 default
parent child Browse files
Show More
@@ -1941,7 +1941,7 b' class revlog(object):'
1941 revornode = templatefilters.short(hex(node))
1941 revornode = templatefilters.short(hex(node))
1942 raise error.RevlogError(
1942 raise error.RevlogError(
1943 _(b"integrity check failed on %s:%s")
1943 _(b"integrity check failed on %s:%s")
1944 % (self._indexfile, pycompat.bytestr(revornode))
1944 % (self.display_id, pycompat.bytestr(revornode))
1945 )
1945 )
1946 except error.RevlogError:
1946 except error.RevlogError:
1947 if self._censorable and storageutil.iscensoredtext(text):
1947 if self._censorable and storageutil.iscensoredtext(text):
@@ -785,8 +785,8 b' Repo with damaged lfs objects in any rev'
785 checking manifests
785 checking manifests
786 crosschecking files in changesets and manifests
786 crosschecking files in changesets and manifests
787 checking files
787 checking files
788 l@1: unpacking 46a2f24864bc: integrity check failed on data/l.i:0
788 l@1: unpacking 46a2f24864bc: integrity check failed on data/l:0
789 large@0: unpacking 2c531e0992ff: integrity check failed on data/large.i:0
789 large@0: unpacking 2c531e0992ff: integrity check failed on data/large:0
790 checked 5 changesets with 10 changes to 4 files
790 checked 5 changesets with 10 changes to 4 files
791 2 integrity errors encountered!
791 2 integrity errors encountered!
792 (first damaged changeset appears to be 0)
792 (first damaged changeset appears to be 0)
@@ -895,9 +895,9 b' store, and poison it. (The verify with '
895 checking manifests
895 checking manifests
896 crosschecking files in changesets and manifests
896 crosschecking files in changesets and manifests
897 checking files
897 checking files
898 l@1: unpacking 46a2f24864bc: integrity check failed on data/l.i:0
898 l@1: unpacking 46a2f24864bc: integrity check failed on data/l:0
899 lfs: found 22f66a3fc0b9bf3f012c814303995ec07099b3a9ce02a7af84b5970811074a3b in the local lfs store
899 lfs: found 22f66a3fc0b9bf3f012c814303995ec07099b3a9ce02a7af84b5970811074a3b in the local lfs store
900 large@0: unpacking 2c531e0992ff: integrity check failed on data/large.i:0
900 large@0: unpacking 2c531e0992ff: integrity check failed on data/large:0
901 lfs: found 89b6070915a3d573ff3599d1cda305bc5e38549b15c4847ab034169da66e1ca8 in the local lfs store
901 lfs: found 89b6070915a3d573ff3599d1cda305bc5e38549b15c4847ab034169da66e1ca8 in the local lfs store
902 lfs: found b1a6ea88da0017a0e77db139a54618986e9a2489bee24af9fe596de9daac498c in the local lfs store
902 lfs: found b1a6ea88da0017a0e77db139a54618986e9a2489bee24af9fe596de9daac498c in the local lfs store
903 checked 5 changesets with 10 changes to 4 files
903 checked 5 changesets with 10 changes to 4 files
@@ -939,8 +939,8 b' usercache or local store.'
939 checking manifests
939 checking manifests
940 crosschecking files in changesets and manifests
940 crosschecking files in changesets and manifests
941 checking files
941 checking files
942 l@1: unpacking 46a2f24864bc: integrity check failed on data/l.i:0
942 l@1: unpacking 46a2f24864bc: integrity check failed on data/l:0
943 large@0: unpacking 2c531e0992ff: integrity check failed on data/large.i:0
943 large@0: unpacking 2c531e0992ff: integrity check failed on data/large:0
944 checked 5 changesets with 10 changes to 4 files
944 checked 5 changesets with 10 changes to 4 files
945 2 integrity errors encountered!
945 2 integrity errors encountered!
946 (first damaged changeset appears to be 0)
946 (first damaged changeset appears to be 0)
@@ -965,9 +965,9 b' avoids the corrupt lfs object in the ori'
965 checking manifests
965 checking manifests
966 crosschecking files in changesets and manifests
966 crosschecking files in changesets and manifests
967 checking files
967 checking files
968 l@1: unpacking 46a2f24864bc: integrity check failed on data/l.i:0
968 l@1: unpacking 46a2f24864bc: integrity check failed on data/l:0
969 lfs: found 22f66a3fc0b9bf3f012c814303995ec07099b3a9ce02a7af84b5970811074a3b in the local lfs store
969 lfs: found 22f66a3fc0b9bf3f012c814303995ec07099b3a9ce02a7af84b5970811074a3b in the local lfs store
970 large@0: unpacking 2c531e0992ff: integrity check failed on data/large.i:0
970 large@0: unpacking 2c531e0992ff: integrity check failed on data/large:0
971 lfs: found 89b6070915a3d573ff3599d1cda305bc5e38549b15c4847ab034169da66e1ca8 in the local lfs store
971 lfs: found 89b6070915a3d573ff3599d1cda305bc5e38549b15c4847ab034169da66e1ca8 in the local lfs store
972 lfs: found b1a6ea88da0017a0e77db139a54618986e9a2489bee24af9fe596de9daac498c in the local lfs store
972 lfs: found b1a6ea88da0017a0e77db139a54618986e9a2489bee24af9fe596de9daac498c in the local lfs store
973 checked 5 changesets with 10 changes to 4 files
973 checked 5 changesets with 10 changes to 4 files
@@ -985,7 +985,7 b' avoids the corrupt lfs object in the ori'
985 Accessing a corrupt file will complain
985 Accessing a corrupt file will complain
986
986
987 $ hg --cwd fromcorrupt2 cat -r 0 large
987 $ hg --cwd fromcorrupt2 cat -r 0 large
988 abort: integrity check failed on data/large.i:0
988 abort: integrity check failed on data/large:0
989 [50]
989 [50]
990
990
991 lfs -> normal -> lfs round trip conversions are possible. The 'none()'
991 lfs -> normal -> lfs round trip conversions are possible. The 'none()'
@@ -351,7 +351,7 b' test flag processor and skipflags'
351 checking manifests
351 checking manifests
352 crosschecking files in changesets and manifests
352 crosschecking files in changesets and manifests
353 checking files
353 checking files
354 base64@0: unpacking 794cee7777cb: integrity check failed on data/base64.i:0
354 base64@0: unpacking 794cee7777cb: integrity check failed on data/base64:0
355 checked 1 changesets with 1 changes to 1 files
355 checked 1 changesets with 1 changes to 1 files
356 1 integrity errors encountered!
356 1 integrity errors encountered!
357 (first damaged changeset appears to be 0)
357 (first damaged changeset appears to be 0)
General Comments 0
You need to be logged in to leave comments. Login now