[issue1281] zlib.error: Error -3 while decompressing data: invalid distance too far back

Stivo mercurial-bugs at selenic.com
Sat Aug 30 04:53:15 CDT 2008


New submission from Stivo <stivo at gmx.ch>:

I used mercurial to track my progress on a little project. 
But a few commits ago, when trying to build my repository I got this error from
hudson:

started
[workspace] $ hg incoming --quiet --bundle hg.bundle --debug --template
"<changeset node='{node}' author='{author|xmlescape}' rev='{rev}'
date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n"
using http://localhost:45821/
comparing with http://localhost:45821
sending heads command
searching for changes
sending branches command
examining 539ae20afe5a:10367cbcfc3d
found incomplete branch 539ae20afe5a:10367cbcfc3d
sending between command
narrowing 1:6 39bd2dde678c
found new branch changeset 539ae20afe5a
found new changesets starting at 539ae20afe5a
1 total queries
sending changegroup command
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.0.1+20080525)
Traceback (most recent call last):
  File "hg", line 20, in <module>
  File "mercurial\dispatch.pyc", line 20, in run
  File "mercurial\dispatch.pyc", line 29, in dispatch
  File "mercurial\dispatch.pyc", line 45, in _runcatch
  File "mercurial\dispatch.pyc", line 364, in _dispatch
  File "mercurial\dispatch.pyc", line 417, in _runcommand
  File "mercurial\dispatch.pyc", line 373, in checkargs
  File "mercurial\dispatch.pyc", line 356, in <lambda>
  File "mercurial\commands.pyc", line 1636, in incoming
  File "mercurial\cmdutil.pyc", line 588, in show
  File "mercurial\cmdutil.pyc", line 864, in _show
  File "mercurial\templater.pyc", line 148, in stringify
  File "mercurial\templater.pyc", line 114, in __call__
  File "mercurial\cmdutil.pyc", line 810, in showadds
  File "mercurial\cmdutil.pyc", line 803, in getfiles
  File "mercurial\localrepo.pyc", line 1004, in status
  File "mercurial\localrepo.pyc", line 987, in mfmatches
  File "mercurial\manifest.pyc", line 59, in read
  File "mercurial\bundlerepo.pyc", line 114, in revision
  File "mercurial\revlog.pyc", line 951, in revision
  File "mercurial\bundlerepo.pyc", line 80, in chunk
  File "mercurial\revlog.pyc", line 904, in chunk
  File "mercurial\revlog.pyc", line 102, in decompress
zlib.error: Error -3 while decompressing data: invalid distance too far back
ERROR: Failed to determine incoming changes
finished: FAILURE

I am not the only person who ever had this problem:
http://article.gmane.org/gmane.comp.version-control.mercurial.general/1497

Maybe very rare...
The repo seems functional, I can commit, rollback etc but when hudson is trying
to build from a certain changeset on it fails. I could send you the repo, but it
being 30mbyte (7zipped) I would rather not :)

----------
messages: 6871
nosy: Stivo
priority: bug
status: unread
title: zlib.error: Error -3 while decompressing data: invalid distance too far back

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1281>
____________________________________________________



More information about the Mercurial-devel mailing list