Issue #2263 invalid

Watching a file diff in a revision

Anonymous created an issue

On a revision of my repo, and only this one, i can't look at a file's diff at this revision. The following error pops up :

** Mercurial version (2.3.1).  TortoiseHg version (2.5)
** Command: --nofork workbench
** CWD: C:\Documents and Settings\Admin\Bureau
** Encoding: cp1252
** Extensions loaded: 
** Python version: 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
** Windows version: sys.getwindowsversion(major=5, minor=1, build=2600, platform=2, service_pack='Service Pack 2')
** Processor architecture: x86
** Qt-4.8.0 PyQt-4.9.1
Traceback (most recent call last):
  File "tortoisehg\hgqt\fileview.pyo", line 340, in displayFile
  File "tortoisehg\hgqt\filedata.pyo", line 34, in __init__
  File "tortoisehg\hgqt\filedata.pyo", line 362, in readStatus
  File "tortoisehg\hgqt\filedata.pyo", line 59, in checkMaxDiff
  File "mercurial\context.pyo", line 498, in data
  File "mercurial\filelog.pyo", line 38, in read
  File "mercurial\revlog.pyo", line 901, in revision
  File "mercurial\revlog.pyo", line 824, in _chunkbase
  File "mercurial\revlog.pyo", line 821, in _chunk
  File "mercurial\revlog.pyo", line 89, in decompress
RevlogError: revlog decompress error: Error -3 while decompressing data: invalid distance too far back

For further precisions, i can't clone my repo throught http using the standard hg clone command line. I can if a specify the -r 26 (the rev before). but if i try -r 27 it fail. Same thing with hg pull. I bet this is no Tortoise issue since even the command line fail on this revision but maybe someone can help me here.

Comments (7)

  1. Mathieu BAUMGARTNER

    Hello sorry i'm the one that posted this as anonymous, didn't see.

    First thanks for your answer.

    Anyway, i did the hg verify and that's what prints out :

    D:[FOLDER]>hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files [in repo subfolders]/[filename].pas@27: unpacking f77c15bea105: revlog decompress error: Error -3 while decompressing data: invalid distance too far back 1767 files, 856 changesets, 4276 total revisions 1 integrity errors encountered! (first damaged changeset appears to be 27)

    I'm afraid I have a corrupted revision yes but I don't know how to ( if i can? ) fix it. Notice that there was many more modifications in this rev and none of the other file diff are corrupted.

    Thanks for your answers

  2. Log in to comment