[Bug 3693] New: Convert fails due to integrity error

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Tue Nov 6 15:06:03 CST 2012


http://bz.selenic.com/show_bug.cgi?id=3693

          Priority: normal
            Bug ID: 3693
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Convert fails due to integrity error
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: xrstf-misc at yahoo.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.3.2
         Component: convert
           Product: Mercurial

I'm trying to convert my repository @ http://bitbucket.org/SallyCMS/trunk with
the following filemap:

  include sally/core

I'm using the following command line:

$ hg convert --filemap=map.txt trunk trunk-core --traceback --debug -v

and get the following error every time on the same commit:


[.....]
converting: 1880/3767 revisions (49.91%)
1885 Added tag v0.3.11 for changeset 948c0cefbf90
source: 6b4824ee5dee1260bf4b6b9332b3c25f9f8dda1a
converting: 1881/3767 revisions (49.93%)
1884 Merge
source: 251054337a25bc4695902f058ad6825c40af4b40
converting: 1882/3767 revisions (49.96%)
1883 Merge
source: d8c231898a5dfcbb0e41131e30677c1f3e1d0888
converting: 1883/3767 revisions (49.99%)
config/sallyStatic.yml
getting files: config/sallyStatic.yml 1/1 (100.00%)
filtering out empty revision
repository tip rolled back to revision 53 (undo commit)
1882 cleaned up some stylings and html (mostly on content page) and started to
implement content actions
source: 20e9642c41e77cb0982b6ccd03004e0b6edaaaa0
converting: 1884/3767 revisions (50.01%)
lib/sly/Service/Article.php
getting files: lib/sly/Service/Article.php 1/1 (100.00%)
transaction abort!
rollback completed
run hg sink post-conversion action
run hg source post-conversion action
Traceback (most recent call last):
  File "mercurial\dispatch.pyo", line 88, in _runcatch
  File "mercurial\dispatch.pyo", line 740, in _dispatch
  File "mercurial\dispatch.pyo", line 514, in runcommand
  File "mercurial\dispatch.pyo", line 830, in _runcommand
  File "mercurial\dispatch.pyo", line 801, in checkargs
  File "mercurial\dispatch.pyo", line 737, in <lambda>
  File "mercurial\util.pyo", line 471, in check
  File "hgext\convert\__init__.pyo", line 271, in convert
  File "hgext\convert\convcmd.pyo", line 469, in convert
  File "hgext\convert\convcmd.pyo", line 385, in convert
  File "hgext\convert\convcmd.pyo", line 353, in copy
  File "hgext\convert\hg.pyo", line 171, in putcommit
  File "mercurial\localrepo.pyo", line 1450, in commitctx
  File "mercurial\changelog.pyo", line 254, in add
  File "mercurial\revlog.pyo", line 976, in addrevision
  File "mercurial\revlog.pyo", line 1075, in _addrevision
  File "mercurial\revlog.pyo", line 1041, in builddelta
  File "mercurial\revlog.pyo", line 906, in revision
  File "mercurial\revlog.pyo", line 915, in _checkhash
RevlogError: integrity check failed on 00changelog.i:54
abort: integrity check failed on 00changelog.i:54!


It works perfectly when using "sally/backend" or "sally/frontend", but there
seems to be some evil commit that's blocking the core to be extracted. When
using no filemap at all, converting works.

There is nothing fancy about my setup. Microsoft's MES is my anti-virus
software, but is set to ignore everything on that partition. My Windows is x64,
I'm using the hg 2.3.2 that's bundled with TortoiseHg.

Let me know if you need more details.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list