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
  • #5305
Closed
Open
Created Jan 10, 2019 by Bitbucket Importer@bitbucket_importerOwner

Error adding files to new repository

Created originally on Bitbucket by Anonymous

Mercurial threw an error while adding files to a newly created repository. Note: the repository had a subrepo added to it, i.e. .hgsub file.

Here's the bug trace message...

    #!python
    ** Mercurial version (4.4.1).  TortoiseHg version (4.4.1)
    ** Command: --nofork workbench
    ** CWD: C:\Users\abir\Projects\lads\tools\lads_tools
    ** Encoding: cp1252
    ** Extensions loaded: 
    ** Python version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
    ** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
    ** Processor architecture: x64
    ** Qt-5.9.2 PyQt-5.9.1 QScintilla-2.10.2.dev1711012104
    Traceback (most recent call last):
      File "tortoisehg\hgqt\revdetails.pyo", line 392, in _onFileSelected
      File "tortoisehg\hgqt\fileview.pyo", line 492, in display
      File "tortoisehg\hgqt\filedata.pyo", line 700, in load
    TypeError: _isdir() argument 1 must be encoded string without null bytes, not str
    Traceback (most recent call last):
      File "tortoisehg\hgqt\status.pyo", line 724, in run
      File "mercurial\context.pyo", line 332, in sub
      File "mercurial\subrepo.pyo", line 405, in subrepo
      File "mercurial\subrepo.pyo", line 680, in __init__
      File "mercurial\vfs.pyo", line 114, in exists
      File "genericpath.pyo", line 26, in exists
    TypeError: stat() argument 1 must be encoded string without null 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