hg verify: 'unknown compression type'

Bart Trojanowski bart at jukie.net
Mon Aug 22 19:57:29 CDT 2005


Hello,

I have a clone of linux-2.6 repository, which I have been happily
mirroring for many weeks.  Recently I was unable to pull from this tree
(over ssh and hg) to a working directory where I actually do the kernel
build.

While the 'hg pull -u' is happy to pull changes from kernel.org, the
resulting tree is unusable.

$ hg verify 
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
Traceback (most recent call last):
  File "/home/muon/bart/bin/hg", line 13, in ?
    commands.run()
  File "/home/muon/bart/lib/python/mercurial/commands.py", line 1465, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/home/muon/bart/lib/python/mercurial/commands.py", line 1575, in dispatch
    return d()
  File "/home/muon/bart/lib/python/mercurial/commands.py", line 1560, in <lambda>
    d = lambda: func(u, repo, *args, **cmdoptions)
  File "/home/muon/bart/lib/python/mercurial/commands.py", line 1264, in verify
    return repo.verify()
  File "/home/muon/bart/lib/python/mercurial/hg.py", line 1965, in verify
    t = fl.read(n)
  File "/home/muon/bart/lib/python/mercurial/hg.py", line 37, in read
    t = self.revision(node)
  File "/home/muon/bart/lib/python/mercurial/revlog.py", line 261, in revision
    text = decompress(data[:last])
  File "/home/muon/bart/lib/python/mercurial/revlog.py", line 35, in decompress
    raise "unknown compression type %s" % t
unknown compression type þ

$ hg version
Mercurial Distributed SCM (version f859e9cba1b9+20050822)

Copyright (C) 2005 Matt Mackall <mpm at selenic.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ python
Python 2.3.5 (#2, Jun 19 2005, 23:47:10) 
[GCC 3.3.6 (Debian 1:3.3.6-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

There is little info in verify, maybe it needs a --verbose option that
just lists the current file being checked.  Is there some python magic
that enables more detailed traceback output?

Unfortunately, since the 'hg pull -u' runs from a nightly cron job, I
don't know exactly when this tree got corrupted.  It must have happened
in the last two weeks, which was the last time I had to use this tree.

After re-cloning my problem went away.  I will keep my broken repo
around for a while, let me know if I can provide any further
information.

-Bart

-- 
				WebSig: http://www.jukie.net/~bart/sig/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.selenic.com/pipermail/mercurial/attachments/20050822/21986b69/attachment.pgp


More information about the Mercurial mailing list