5

何かを変更してUbuntu10.10を実行していることに気づいていません。Mercurialは正常に動作していましたが、今朝コミットをプッシュし始めたときに突然、次のエラーが発生し始めました。

** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial@selenic.com
** Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) [GCC 4.4.5]
** Mercurial Distributed SCM (version 1.6.3)
** Extensions loaded: convert
Traceback (most recent call last):
  File "/usr/bin/hg", line 27, in <module>
    mercurial.dispatch.run()
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 34, in dispatch
    return _runcatch(u, args)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 54, in _runcatch
    return _dispatch(ui, args)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 494, in _dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 355, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 545, in _runcommand
    return checkargs()
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 499, in checkargs
    return cmdfunc()
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 492, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 420, in check
    return func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/mercurial/commands.py", line 2855, in push
    newbranch=opts.get('new_branch'))
  File "/usr/lib/pymodules/python2.6/mercurial/localrepo.py", line 1227, in push
    return self.push_unbundle(remote, force, revs, newbranch)
  File "/usr/lib/pymodules/python2.6/mercurial/localrepo.py", line 1263, in push_unbundle
    return remote.unbundle(cg, remote_heads, 'push')
  File "/usr/lib/pymodules/python2.6/mercurial/httprepo.py", line 236, in unbundle
    tempname = changegroup.writebundle(cg, None, type)
  File "/usr/lib/pymodules/python2.6/mercurial/changegroup.py", line 106, in writebundle
    for chunk in chunkiter(cg):
  File "/usr/lib/pymodules/python2.6/mercurial/changegroup.py", line 31, in chunkiter
    c = getchunk(source)
  File "/usr/lib/pymodules/python2.6/mercurial/changegroup.py", line 14, in getchunk
    d = source.read(4)
  File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 924, in read
    for chunk in self.iter:
  File "/usr/lib/pymodules/python2.6/mercurial/localrepo.py", line 1613, in gengroup
    for chnk in filerevlog.group(nodeiter, lookup):
  File "/usr/lib/pymodules/python2.6/mercurial/revlog.py", line 1196, in group
    d = self.revdiff(a, b)
  File "/usr/lib/pymodules/python2.6/mercurial/revlog.py", line 1005, in revdiff
    return self._chunk(rev2)
  File "/usr/lib/pymodules/python2.6/mercurial/revlog.py", line 997, in _chunk
    return decompress(self._chunkraw(rev, rev))
  File "/usr/lib/pymodules/python2.6/mercurial/revlog.py", line 112, in decompress
    return _decompress(bin)
zlib.error: Error -5 while decompressing data: incomplete or truncated stream

その一部をグーグルで検索してみましたが、関連するものが見つかりませんでした。何か案は?

見てくれてありがとう。:)

4

2 に答える 2

2

Dan D.が述べたように実行hg verifyし、最終的にローカルリポジトリを消去して、再クローンを作成しました。これで私は軌道に戻りました。

于 2011-03-11T19:47:59.227 に答える
1

これは、破損したサーバーからの一般的なスタックトレースです。最後の(1.8)リリースは、その場合のエラーメッセージの改善に役立ちます。

于 2011-03-10T22:55:47.027 に答える