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
  • #5492
Closed
Open
Created Dec 05, 2019 by Bitbucket Importer@bitbucket_importerOwner

py3: Traceback when attempting to close branch

Created originally on Bitbucket by cbillington (Chris Billington)

To reproduce:

  • Click the branch options button above the commit text entry
  • Select "close current branch"
  • Click OK
    #!python
    ** Mercurial version (5.2).  TortoiseHg version (5.1+242-04db28b10b0b)
    ** Command: 
    ** CWD: /home/bilbo/labscript_suite/labscript_utils
    ** Encoding: UTF-8
    ** Extensions loaded: strip, mq, churn, rebase, tortoisehg.util.configitems
    ** Python version: 3.8.0 (default, Oct 23 2019, 18:51:26) [GCC 9.2.0]
    ** System: Linux bilbo-arch 5.4.1-arch1-1 #1 SMP PREEMPT Fri, 29 Nov 2019 13:37:24 +0000 x86_64
    ** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.11.3
    Traceback (most recent call last):
      File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/commit.py", line 805, in branchOp
        engmsg = self.repo.ui.configbool(
      File "/usr/lib/python3.8/site-packages/mercurial/ui.py", line 688, in configbool
        v = self._config(section, name, default, untrusted=untrusted)
      File "/usr/lib/python3.8/site-packages/mercurial/ui.py", line 585, in _config
        msg %= (section, name)
    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