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

Synchronize options - TypeError: can only concatenate str (not "bytes") to str

Created originally on Bitbucket by Anonymous

How to reproduce:

  1. Click the "Synchronize" button
  2. Click the "Options" button
  3. Input "default" in the "Branch:" input field
  4. Click the "Save" button

Stack trace:

#!python
    ** Mercurial version (5.4.1).  TortoiseHg version (5.4.1+6-13c9b451f6b0)
    ** Command: 
    ** CWD: /home/user
    ** Encoding: UTF-8
    ** Extensions loaded: tortoisehg.util.configitems
    ** Python version: 3.8.2 (default, Apr 27 2020, 15:53:34) [GCC 9.3.0]
    ** System: Linux localhost 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 x86_64
    ** Qt-5.15.0 PyQt-5.15.0 QScintilla-2.11.5
    Traceback (most recent call last):
      File "/home/user/repository/thg/tortoisehg/hgqt/qtlib.py", line 1339, in showEvent
        self.get()
      File "/home/user/repository/thg/tortoisehg/hgqt/qtlib.py", line 1351, in get
        self._widget = func()
      File "/home/user/repository/thg/tortoisehg/hgqt/repowidget.py", line 414, in createSyncWidget
        sw = SyncWidget(self._repoagent, self)
      File "/home/user/repository/thg/tortoisehg/hgqt/sync.py", line 292, in __init__
        self.setEditUrl('')
      File "/home/user/repository/thg/tortoisehg/hgqt/sync.py", line 455, in setEditUrl
        self.refreshUrl()
      File "/home/user/repository/thg/tortoisehg/hgqt/sync.py", line 440, in refreshUrl
        opts.append('--'+opt+'='+value)
    TypeError: can only concatenate str (not "bytes") to str
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking