[Bug 5998] New: Corrupted Repository - Unable to recover

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Fri Oct 12 10:48:35 UTC 2018


https://bz.mercurial-scm.org/show_bug.cgi?id=5998

            Bug ID: 5998
           Summary: Corrupted Repository - Unable to recover
           Product: Mercurial
           Version: 4.7.1
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: jcranmer at kasacontrols.com
                CC: mercurial-devel at mercurial-scm.org

Got in today and repository appears to be corrupted some how. Was using 4.3.1
but upgraded to 4.7.1 to see if that fixed. It didn't.

Original issue as seen
[https://bitbucket.org/tortoisehg/thg/issues/5257/error-on-open-via-windows-explorer-context]

Tried to recovery using convert extension
[https://www.mercurial-scm.org/wiki/RepositoryCorruption#Recovery_using_convert_extension]
but that failed.

** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64
bit (AMD64)]
** Mercurial Distributed SCM (version 4.7.1)
** Extensions loaded: convert
Traceback (most recent call last):
  File "hg", line 50, in <module>
  File "mercurial\dispatch.pyo", line 90, in run
  File "mercurial\dispatch.pyo", line 213, in dispatch
  File "mercurial\dispatch.pyo", line 354, in _runcatch
  File "mercurial\dispatch.pyo", line 362, in _callcatch
  File "mercurial\scmutil.pyo", line 161, in callcatch
  File "mercurial\dispatch.pyo", line 344, in _runcatchfunc
  File "mercurial\dispatch.pyo", line 984, in _dispatch
  File "mercurial\dispatch.pyo", line 730, in runcommand
  File "mercurial\dispatch.pyo", line 992, in _runcommand
  File "mercurial\dispatch.pyo", line 981, in <lambda>
  File "mercurial\util.pyo", line 1528, in check
  File "hgext\convert\__init__.pyo", line 450, in convert
  File "hgext\convert\convcmd.pyo", line 616, in convert
  File "hgext\convert\convcmd.pyo", line 525, in convert
  File "hgext\convert\convcmd.pyo", line 453, in copy
  File "hgext\convert\hg.pyo", line 541, in getchanges
  File "hgext\convert\hg.pyo", line 524, in _changedfiles
  File "mercurial\context.pyo", line 174, in manifest
  File "mercurial\util.pyo", line 1412, in __get__
  File "mercurial\context.pyo", line 469, in _manifest
  File "mercurial\context.pyo", line 473, in _manifestctx
  File "mercurial\manifest.pyo", line 1303, in __getitem__
  File "mercurial\manifest.pyo", line 1334, in get
LookupError:
('X\xec7\xd9\xba\xab\xc0\x9d\xc0\x16/,\xaf4\xbc\xee\x8e\xc6\xdd\r',
'00manifest.i', 'no node')

Any assistance would be greatly appreciated. Even a partial recovery would be
appreciated.

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


More information about the Mercurial-devel mailing list