Possible corrupted hg database

Krister Renaud krister.renaud at retailinnovation.se
Mon Jun 21 07:19:19 UTC 2010


Hello,

I have experienced what seems like a corrupted hg data base.
The system is Windows 7 Ultimate Edition, 64 bit.

See log:

MYPATH>hg ci -m "Added fixed TODO comment"

   (oops typo, should have been "removed fixed TODO comment, let's do
rollback, but I made another mistake and wrote revert instead)

MYPATH>hg rev
abort: no files or directories specified; use --all to revert the whole repo

MYPATH>hg roll
rolling back last transaction
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.4.3)
** Extensions loaded: extdiff, fetch, mq, rebase, gestalt, kilnauth,
kilnpath,
svnblame, big-push, shelve
Traceback (most recent call last):
  File "hg", line 36, in <module>
  File "mercurial\dispatch.pyo", line 16, in run
  File "mercurial\dispatch.pyo", line 30, in dispatch
  File "mercurial\dispatch.pyo", line 46, in _runcatch
  File "mercurial\dispatch.pyo", line 454, in _dispatch
  File "mercurial\dispatch.pyo", line 324, in runcommand
  File "mercurial\dispatch.pyo", line 505, in _runcommand
  File "mercurial\dispatch.pyo", line 459, in checkargs
  File "mercurial\dispatch.pyo", line 453, in <lambda>
  File "mercurial\util.pyo", line 386, in check
  File "mercurial\commands.pyo", line 2758, in rollback
  File "mercurial\localrepo.pyo", line 611, in rollback
  File "mercurial\localrepo.pyo", line 932, in destroyed
  File "mercurial\tags.pyo", line 66, in findglobaltags2
  File "mercurial\tags.pyo", line 224, in _readtagcache
ValueError: invalid literal for int() with base 10: ''

MYPATH>hg sta
M PATH\MyFile.cs

MYPATH>hg log | less
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.4.3)
** Extensions loaded: extdiff, fetch, mq, rebase, gestalt, kilnauth,
kilnpath,
svnblame, big-push, shelve
Traceback (most recent call last):
  File "hg", line 36, in <module>
  File "mercurial\dispatch.pyo", line 16, in run
  File "mercurial\dispatch.pyo", line 30, in dispatch
  File "mercurial\dispatch.pyo", line 46, in _runcatch
  File "mercurial\dispatch.pyo", line 454, in _dispatch
  File "mercurial\dispatch.pyo", line 324, in runcommand
  File "mercurial\dispatch.pyo", line 505, in _runcommand
  File "mercurial\dispatch.pyo", line 459, in checkargs
  File "mercurial\dispatch.pyo", line 453, in <lambda>
  File "mercurial\util.pyo", line 386, in check
  File "mercurial\commands.pyo", line 2088, in log
  File "mercurial\cmdutil.pyo", line 1229, in iterate
  File "mercurial\commands.pyo", line 2086, in prep
  File "mercurial\cmdutil.pyo", line 645, in show
  File "mercurial\cmdutil.pyo", line 674, in _show
  File "mercurial\localrepo.pyo", line 308, in nodetags
  File "mercurial\localrepo.pyo", line 243, in tags
  File "hgext\mq.pyo", line 2505, in _findtags
  File "mercurial\localrepo.pyo", line 264, in _findtags
  File "mercurial\tags.pyo", line 66, in findglobaltags2
  File "mercurial\tags.pyo", line 224, in _readtagcache
ValueError: invalid literal for int() with base 10: ''


Is there any more information I can supply (without providing source code
for my application)?

Best Regards,
Krister Renaud

----
Krister Renaud

Retail Innovation AB
Kung Hans väg 12
SE-192 68 SOLLENTUNA
SWEDEN

Tel: +46 8 50 66 55 40
Mob: +46 709 90 04 77
Fax: +46 8 55 11 87 88
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20100621/f1f29bab/attachment.html>


More information about the Mercurial mailing list