Skip to content
GitLab
  • Menu
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 829
    • Issues 829
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & 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
  • mercurial
  • TortoiseHg
  • thgthg
  • Issues
  • #5493
Closed
Open
Created Dec 05, 2019 by Bitbucket Importer@bitbucket_importerOwner

backoutToRevision gets bytes/str mismatch

Created originally on Bitbucket by Anonymous

#!python

    #!python
    ** Mercurial version (5.2+24-371765e775a2).  TortoiseHg version (5.1+200-fb9035853199)
    ** Command: --nofork
    ** CWD: /home/jh
    ** Encoding: UTF-8
    ** Extensions loaded: tortoisehg.util.configitems
    ** Python version: 3.7.4 (default, Oct  4 2019, 06:57:26) [GCC 9.2.0]
    ** System: Linux SSD2 4.19.85-1-MANJARO #1 SMP PREEMPT Thu Nov 21 10:38:39 UTC 2019 x86_64
    ** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.11.3
    Traceback (most recent call last):
      File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/repowidget.py", line 1887, in backoutToRevision
        dlg = backout.BackoutDialog(self._repoagent, self.rev, self)
      File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/backout.py", line 80, in __init__
        self.addPage(ResultPage(repoagent, self))
      File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/backout.py", line 561, in __init__
        bkCsInfo = csinfo.create(self.repo, 'tip', withupdate=True)
      File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/csinfo.py", line 38, in create
        return Factory(repo, custom, style, target, **kargs)()
      File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/csinfo.py", line 105, in __call__
        widget = SummaryPanel(*args)
      File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/csinfo.py", line 412, in __init__
        SummaryBase.__init__(self, target, custom, repo, info)
      File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/csinfo.py", line 375, in __init__
        self.ctx = repo[self.target]
      File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/thgrepo.py", line 796, in __getitem__
        changectx = super(thgrepository, self).__getitem__(changeid)
      File "/usr/lib/python3.7/site-packages/mercurial/localrepo.py", line 1571, in __getitem__
        % (changeid, pycompat.bytestr(type(changeid)))
    TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'
    
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking