Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • 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 836
    • Issues 836
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • 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
  • #5729

Closed
Open
Created Jul 09, 2021 by alexrayne@alexrayne

thg5.8 crash report - py3 string issue with compress command

hallow, works with thg 5.8 on py3.8 win8.1

invokes compress history command with couple of revisions, and on "commit" button got this crash:

    #!python
    ** Mercurial version (5.7.1).  TortoiseHg version (5.8rc0+5-67b0f4a90460)
    ** Command: --nofork
    ** CWD: d:\projects\hg\thg\thg.work
    ** Encoding: cp1251
    ** Extensions loaded: absorb, amend, censor, closehead, commitextras, convert, evolve 10.3.1.dev, extdiff, fix, guestrepo, hggit 0.10.0 (dulwich 0.20.5), highlight, histedit, mq, patchbomb, rebase, record, remotenames, schemes, share, show, sparse, strip, topic 0.22.1.dev, tortoisehg.util.configitems, transplant
    ** Python version: 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)]
    ** Windows version: sys.getwindowsversion(major=6, minor=3, build=9600, platform=2, service_pack='')
    ** Processor architecture: x64
    ** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.10.8
    Traceback (most recent call last):
      File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\compress.py", line 124, in commit
        revs = [c for c in self.repo.revs(b'%s::%s' % (base, tip)) if c != base]
    TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'int'
    
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking