1. TortoiseHg
  2. TortoiseHg
  3. thg
Issue #1843 open

patch cannot be decoded

qwerty7ng
created an issue
** Mercurial version (2.1.1).  TortoiseHg version (2.3.1)
** Command: --nofork commit
** CWD: C:\wamp\www\cfcmain
** Encoding: cp1252
** Extensions loaded: 
** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
** Windows version: (6, 1, 7601, 2, 'Service Pack 1')
** Processor architecture: x86
** Qt-4.7.4 PyQt-4.8.6
Traceback (most recent call last):
  File "tortoisehg\hgqt\status.pyo", line 468, in run
  File "mercurial\context.pyo", line 781, in status
  File "mercurial\localrepo.pyo", line 1381, in status
  File "mercurial\context.pyo", line 82, in __contains__
  File "mercurial\util.pyo", line 237, in __get__
  File "mercurial\context.pyo", line 64, in _manifest
  File "mercurial\manifest.pyo", line 54, in read
  File "mercurial\revlog.pyo", line 901, in revision
mpatchError: patch cannot be decoded

Comments (10)

  1. Nelson Almeida

    I have same problem. It's possible recover? I think that it's related with the fact that Tortoise still working in background but the front-end doesn't show any activity. While it's background working and if we close tortoise this error maybe appear. In my case was STRIP command.

    ** Mercurial version (1.9+10-e9264b45237d).  TortoiseHg version (2.1.1)
    ** Command: --nofork workbench
    ** CWD: //[//HG DIRECTORY//]//
    ** Extensions loaded: schemes, transplant, mq, children, gpg, hgk, relink, churn, rebase, eol, record, notify, fetch, acl, hgcr-gui-qt, purge, share, zeroconf, convert, fold
    ** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
    ** Windows version: (5, 2, 3790, 2, 'Service Pack 2')
    ** Processor architecture: x86
    ** Qt-4.7.1 PyQt-4.8.3
    Traceback (most recent call last):
      File "tortoisehg\hgqt\repowidget.pyo", line 742, in onRevisionClicked
      File "mercurial\context.pyo", line 117, in tags
      File "mercurial\localrepo.pyo", line 398, in nodetags
      File "mercurial\localrepo.pyo", line 331, in tags
      File "hgext\mq.pyo", line 3123, in _findtags
      File "mercurial\localrepo.pyo", line 352, in _findtags
      File "mercurial\tags.pyo", line 30, in findglobaltags
      File "mercurial\tags.pyo", line 242, in _readtagcache
      File "mercurial\context.pyo", line 166, in filenode
      File "mercurial\context.pyo", line 158, in _fileinfo
      File "mercurial\manifest.pyo", line 107, in find
      File "mercurial\revlog.pyo", line 902, in revision
    mpatchError: patch cannot be decoded
    Traceback (most recent call last):
      File "tortoisehg\hgqt\repowidget.pyo", line 1040, in viewMenuRequest
      File "tortoisehg\hgqt\repowidget.pyo", line 1048, in singleSelectionMenu
      File "tortoisehg\hgqt\thgrepo.pyo", line 559, in thgmqappliedpatch
      File "tortoisehg\hgqt\thgrepo.pyo", line 551, in _thgmqpatchtags
      File "mercurial\context.pyo", line 117, in tags
      File "mercurial\localrepo.pyo", line 398, in nodetags
      File "mercurial\localrepo.pyo", line 331, in tags
      File "hgext\mq.pyo", line 3123, in _findtags
      File "mercurial\localrepo.pyo", line 352, in _findtags
      File "mercurial\tags.pyo", line 30, in findglobaltags
      File "mercurial\tags.pyo", line 242, in _readtagcache
      File "mercurial\context.pyo", line 166, in filenode
      File "mercurial\context.pyo", line 158, in _fileinfo
      File "mercurial\manifest.pyo", line 107, in find
      File "mercurial\revlog.pyo", line 902, in revision
    mpatchError: patch cannot be decoded
    
  2. Log in to comment