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
  • #5537
Closed
Open
Created Apr 22, 2020 by Bitbucket Importer@bitbucket_importerOwner

py3: tags break tortoisehg

Created originally on Bitbucket by Gottfried Necker

Repositories with tags produce the following traceback:

#!python
** Mercurial version (5.3.1).  TortoiseHg version (5.3.2)
** Command: 
** CWD: /home/xxxxxx/software/hg
** Encoding: UTF-8
** Extensions loaded: convert, extdiff, transplant, rebase, tortoisehg.util.configitems
** Python version: 3.6.10 (default, Jan 16 2020, 09:12:04) [GCC]
** System: Linux xxxxxxxxxxxxxx.xxxx.xxx.xxx 4.12.14-lp151.28.44-default #1 SMP Fri Mar 20 18:20:20 UTC 2020 (dbf1aea) x86_64
** Qt-5.9.7 PyQt-5.11.3 QScintilla-2.10.4
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tortoisehg/hgqt/repomodel.py", line 535, in data
    return self._safedata(index, role)
  File "/usr/lib/python3.6/site-packages/tortoisehg/hgqt/repomodel.py", line 555, in _safedata
    result = self._rawdata(index, role)
  File "/usr/lib/python3.6/site-packages/tortoisehg/hgqt/repomodel.py", line 575, in _rawdata
    text = textfunc(self, ctx)
  File "/usr/lib/python3.6/site-packages/tortoisehg/hgqt/repomodel.py", line 729, in _getlatesttags
    self._latesttags[rev] = ctx.date()[0], 0, b':'.join(sorted(tags))
TypeError: sequence item 0: expected a bytes-like object, str found

This traceback is repeated several times.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking