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
  • #5516
Closed
Open
Created Feb 08, 2020 by Bitbucket Importer@bitbucket_importerOwner

Py3: Style string bytes mismatch in the repomodel for extra labels

Created originally on Bitbucket by Steamy (Will Stott)

Topics are shown in the UI with broken styling like this:

‌

That black box is the incorrectly styled label.

The labels list for commits when added to here results in entries such as this:

('topic_name', "log.b'topic'")

I believe the fix is to change the line linked above to:

labels.append((hglib.tounicode(name), 'log.%s' % hglib.tounicode(ns.colorname)))

However I can’t make a PR because BitBucket 🙂

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