1. TortoiseHg
  2. TortoiseHg
  3. thg
  4. Issues
Issue #812 duplicate

Error after 'hg collapse'

David Ebbo
created an issue

I hit this error after doing an 'hg collapse' from command line and then refreshing in Tortoise



Mercurial version (1.8.2). TortoiseHg version (2.0.3) Command: CWD: C:\Windows\system32 Extensions loaded: fixfrozenexts, rebase, mq, purge, mercurial_keyring, collapse Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)] Windows version: (6, 1, 7601, 2, 'Service Pack 1') Processor architecture: x64 Qt-4.7.1 PyQt-4.8.2 Traceback (most recent call last): File "tortoisehg\hgqt\commit.pyo", line 314, in repositoryChanged File "tortoisehg\hgqt\commit.pyo", line 328, in refresh File "tortoisehg\hgqt\thgrepo.pyo", line 528, in thgmqappliedpatch File "tortoisehg\hgqt\thgrepo.pyo", line 520, in _thgmqpatchtags File "mercurial\context.pyo", line 116, in tags File "mercurial\localrepo.pyo", line 398, in nodetags File "mercurial\localrepo.pyo", line 333, in tags File "hgext\mq.pyo", line 2954, in _findtags File "mercurial\localrepo.pyo", line 354, in _findtags File "mercurial\tags.pyo", line 30, in findglobaltags File "mercurial\tags.pyo", line 239, in _readtagcache File "mercurial\context.pyo", line 163, in filenode File "mercurial\context.pyo", line 152, in _fileinfo File "mercurial\context.pyo", line 108, in files File "mercurial\util.pyo", line 169, in get File "mercurial\context.pyo", line 59, in _changeset File "mercurial\changelog.pyo", line 173, in read File "mercurial\revlog.pyo", line 868, in revision File "mercurial\revlog.pyo", line 804, in _chunk File "mercurial\revlog.pyo", line 120, in decompress RevlogError: unknown compression type '\x0f'


Comments (7)

  1. David Ebbo reporter

    Yes, running 'hg verify' displays:

    checking changesets
    checking manifests
    crosschecking files in changesets and manifests
    checking files
    1981 files, 620 changesets, 4492 total revisions

    Everything seems fine after that error. I didn't even have to restart Tortoise, so it seems pretty harmless.

  2. Steve Borho

    The error usually occurs when a refresh catches a repository modify in progress. QRefresh is a common culprit, though we have recently pushed a patch for MQ that keeps the repository lock until the qrefresh is entirely finished, so that particular problem should be fixed in the next feature release.

    The author of the collapse extension should do the same.

  3. David Ebbo reporter

    I'm pretty sure the command had completed by the time I hit refresh, though it was very shortly after and maybe the bits were still 'settling' :)

    Feel free to resolve if you think it's more of an hg collapse issue.

  4. Log in to comment