Issue #2470 duplicate

hg push in command line (to SVN with hgsubversion)

fschoenm
created an issue
** Mercurial version (2.5.2).  TortoiseHg version (2.7.1)
** Command: --nofork workbench
** CWD: E:\devel.x86\VideoSDK.hg
** Encoding: cp1252
** Extensions loaded: convert, extdiff, graphlog, hgshelve, hgsubversion, mq, purge, record, rebase, transplant, zeroconf
** Python version: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-4.8.4 PyQt-4.9.6 QScintilla-2.7
Traceback (most recent call last):
  File "tortoisehg\hgqt\commit.pyo", line 577, in repositoryChanged
  File "tortoisehg\hgqt\commit.pyo", line 622, in refresh
  File "tortoisehg\hgqt\csinfo.pyo", line 426, in update
  File "tortoisehg\hgqt\csinfo.pyo", line 339, in get_markup
  File "tortoisehg\hgqt\csinfo.pyo", line 285, in get_markup
  File "tortoisehg\hgqt\csinfo.pyo", line 225, in get_data
  File "tortoisehg\hgqt\revpanel.pyo", line 59, in data_func
  File "mercurial\context.pyo", line 199, in branch
  File "mercurial\util.pyo", line 246, in __get__
  File "mercurial\context.pyo", line 146, in _changeset
  File "mercurial\changelog.pyo", line 282, in read
  File "mercurial\revlog.pyo", line 926, in revision
  File "mercurial\revlog.pyo", line 849, in _chunkbase
  File "mercurial\revlog.pyo", line 846, in _chunk
  File "mercurial\revlog.pyo", line 89, in decompress
RevlogError: revlog decompress error: Error -5 while decompressing data: incomplete or truncated stream

Comments (9)

  1. Steve Borho

    I believe hgsvn can do an automated rebase at push, and a rebase is a destructive operation (it truncates revlogs). If TortoiseHg refreshes in the middle of this operation, there is a chance it will trigger an error like this.

    If the repository passes verify, you can ignore the error. If it doesn't, then you have a more serious corruption issue and will probably need to re-clone.

  2. Log in to comment