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
  • #5357
Closed
Open
Created Mar 06, 2019 by Bitbucket Importer@bitbucket_importerOwner

Crash when opening repository

Created originally on Bitbucket by Kinematics (David)

I get the following error when trying to open a repository that was last used some years ago, using Visual Studio 2015. There were no problems with the repo at the time; I'd just switched to using VS2017 (and a different working directory).

Attempted to open repository using Hg Workbench... context menu in the project folder, as well as using the Repository Registry entry in the THG UI .

#!python
** Mercurial version (4.9).  TortoiseHg version (4.9)
** Command: --nofork workbench
** CWD: C:\Users\David\Documents\Visual Studio 2015\Projects\NetTally
** Encoding: cp1252
** Extensions loaded: convert, strip, mq, rebase, eol, histedit, hggit, tortoisehg.util.configitems
** 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=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-5.9.2 PyQt-5.9.1 QScintilla-2.10.2.dev1711012104
Traceback (most recent call last):
  File "tortoisehg\hgqt\repowidget.pyo", line 268, in _initView
  File "tortoisehg\hgqt\repowidget.pyo", line 864, in _updateRepoViewForModel
  File "tortoisehg\hgqt\repomodel.pyo", line 673, in defaultIndex
  File "tortoisehg\hgqt\repomodel.pyo", line 690, in indexFromRev
  File "tortoisehg\hgqt\repomodel.pyo", line 414, in _ensureBuilt
  File "tortoisehg\hgqt\graph.pyo", line 955, in build_nodes
  File "tortoisehg\hgqt\graph.pyo", line 632, in _iter_graphnodes
  File "tortoisehg\hgqt\graph.pyo", line 820, in fromchangectx
  File "tortoisehg\hgqt\thgrepo.pyo", line 1015, in thgmqappliedpatch
  File "tortoisehg\hgqt\thgrepo.pyo", line 1007, in _thgmqpatchtags
  File "mercurial\context.pyo", line 453, in tags
  File "mercurial\localrepo.pyo", line 1507, in nodetags
  File "mercurial\util.pyo", line 1553, in __get__
  File "mercurial\localrepo.pyo", line 1428, in _tagscache
  File "hggit\hgrepo.pyo", line 51, in _findtags
  File "mercurial\node.pyo", line 19, in bin
TypeError: Odd-length string
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking