[issue3423] zlib.error sent to the user

benallard bugs at mercurial.selenic.com
Fri May 4 02:46:46 CDT 2012


New submission from benallard <benoit at aeteurope.nl>:

Note: This computer has a highly unreliable hard disk. But still, I don't 
think the traceback should be sent to the 
user.

$ hg update --clean --rev stable
** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.1 (r271:86832, Jun 25 2011, 05:09:01) [GCC 4.2.1 (Based on 
Apple Inc. build 5658) (LLVM build 
2335.15.00)]
** Mercurial Distributed SCM (version 2.2+20120501)
** Extensions loaded: 
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 27, 
in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 64, 
in dispatch
    return _runcatch(req)
  File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 87, 
in _runcatch
    return _dispatch(req)
  File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 685, 
in _dispatch
    cmdpats, cmdoptions)
  File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 467, 
in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 775, 
in _runcommand
    return checkargs()
  File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 746, 
in checkargs
    return cmdfunc()
  File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 682, 
in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/Library/Python/2.7/site-packages/mercurial/util.py", line 463, in 
check
    return func(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/mercurial/commands.py", line 5671, 
in update
    ret = hg.clean(repo, rev)
  File "/Library/Python/2.7/site-packages/mercurial/hg.py", line 427, in 
clean
    stats = mergemod.update(repo, node, False, True, None)
  File "/Library/Python/2.7/site-packages/mercurial/merge.py", line 596, in 
update
    stats = applyupdates(repo, action, wc, p2, pa, overwrite)
  File "/Library/Python/2.7/site-packages/mercurial/merge.py", line 386, in 
applyupdates
    t = mctx.filectx(f).data()
  File "/Library/Python/2.7/site-packages/mercurial/context.py", line 460, 
in data
    return self._filelog.read(self._filenode)
  File "/Library/Python/2.7/site-packages/mercurial/filelog.py", line 38, in 
read
    t = self.revision(node)
  File "/Library/Python/2.7/site-packages/mercurial/revlog.py", line 926, in 
revision
    text = str(self._chunkbase(base))
  File "/Library/Python/2.7/site-packages/mercurial/revlog.py", line 849, in 
_chunkbase
    return self._chunk(rev)
  File "/Library/Python/2.7/site-packages/mercurial/revlog.py", line 846, in 
_chunk
    return decompress(self._chunkraw(rev, rev))
  File "/Library/Python/2.7/site-packages/mercurial/revlog.py", line 115, in 
decompress
    return _decompress(bin)
zlib.error: Error -3 while decompressing data: incorrect data check

----------
messages: 19897
nosy: benallard
priority: bug
status: unread
title: zlib.error sent to the user

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


More information about the Mercurial-devel mailing list