Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • thg thg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 838
    • Issues 838
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurialmercurial
  • TortoiseHgTortoiseHg
  • thgthg
  • Issues
  • #5546
Closed
Open
Issue created May 29, 2020 by Bitbucket Importer@bitbucket_importerOwner

unsupported changeid 'XXX' of type <class 'bytes'>

Created originally on Bitbucket by Anonymous

I am seeing the following error when I click the shelve "Z" icon. This is on Linux.

#!python

    #!python
    ** Mercurial version (5.4).  TortoiseHg version (5.3.2+8-24c7f576e2c7)
    ** Command: 
    ** CWD: /home/vh638202
    ** Encoding: UTF-8
    ** Extensions loaded: automv, beautifygraph, graphlog, histedit, strip, mq, patchbomb, rebase, relink, tortoisehg.util.configitems
    ** Python version: 3.8.2 (default, Apr 27 2020, 15:53:34) [GCC 9.3.0]
    ** System: Linux vh638202-Precision-5530 5.4.0-33-generic #37-Ubuntu SMP Thu May 21 12:53:59 UTC 2020 x86_64
    ** Qt-5.12.8 PyQt-5.14.1 QScintilla-2.11.2
    Traceback (most recent call last):
      File "/home/vh638202/thg/tortoisehg/hgqt/fileview.py", line 295, in _launchShelve
        dlg = shelve.ShelveDialog(self._repoagent, self)
      File "/home/vh638202/thg/tortoisehg/hgqt/shelve.py", line 218, in __init__
        self.refreshCombos()
      File "/home/vh638202/thg/tortoisehg/hgqt/shelve.py", line 471, in refreshCombos
        self.comboBChanged(idxb)
      File "/home/vh638202/thg/tortoisehg/hgqt/shelve.py", line 502, in comboBChanged
        self.browseb.setContext(self.repo[rev])
      File "/home/vh638202/thg/tortoisehg/hgqt/thgrepo.py", line 812, in __getitem__
        changectx = super(thgrepository, self).__getitem__(changeid)
      File "/home/vh638202/.local/lib/python3.8/site-packages/mercurial/localrepo.py", line 1648, in __getitem__
        raise error.ProgrammingError(
    mercurial.error.ProgrammingError: unsupported changeid '/home/vh638202/APM/apm.3/ng/.hg/shelves/2020-05-04_14-17-09_parent_rev_13290' of type <class 'bytes'>
    Traceback (most recent call last):
      File "/home/vh638202/thg/tortoisehg/hgqt/chunks.py", line 479, in displayFile
        self.diffbrowse.displayFile(file, status)
      File "/home/vh638202/thg/tortoisehg/hgqt/chunks.py", line 757, in displayFile
        fd = filedata.createFileData(self._ctx, None, filename, status)
      File "/home/vh638202/thg/tortoisehg/hgqt/filedata.py", line 797, in createFileData
        return FileData(ctx, ctx2, wfile, status, rpath, mstatus)
      File "/home/vh638202/thg/tortoisehg/hgqt/filedata.py", line 216, in __init__
        super(FileData, self).__init__(ctx, pctx, path, status, rpath)
      File "/home/vh638202/thg/tortoisehg/hgqt/filedata.py", line 85, in __init__
        self._textencoding = fileencoding.contentencoding(ctx._repo.ui)
    AttributeError: 'NoneType' object has no attribute '_repo'
    
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking