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 837
    • Issues 837
    • 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
  • #4377

Closed
Open
Created Dec 03, 2015 by Bitbucket Importer@bitbucket_importerOwner

AttributeError 'mergestate' object has no attribute '_state'

Created originally on Bitbucket by mschriefel (Michael Schriefel)

Hi all,

after upgrading both mercurial and tortoisehg from 3.6 to 3.6.1 I'm facing this error when changing to the commit view with ALT + 2:

#!python
** Mercurial version (3.6.1+241-61fbf5dc12b2).  TortoiseHg version (3.6.1)
** Command: 
** CWD: /home/schriefel
** Encoding: UTF-8
** Extensions loaded: mercurial_keyring, fetch, rebase
** Python version: 2.7.5 (default, Jun 24 2015, 00:41:19) [GCC 4.8.3 20140911 (Red Hat 4.8.3-9)]
** System: Linux localhost.localdomain 3.10.0-229.20.1.el7.x86_64 #1 SMP Tue Nov 3 19:10:07 UTC 2015 x86_64
** Qt-4.8.5 PyQt-4.10.1 QScintilla-2.8
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/status.py", line 394, in reloadComplete
    self.refthread.patchecked)
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/status.py", line 427, in updateModel
    checkable=self.checkable, defcheck=self.defcheck)
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/status.py", line 756, in __init__
    rows.append(mkrow(u, '?'))
  File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/status.py", line 717, in mkrow
    mst = fname in ms and ms[fname].upper() or ""
  File "/usr/lib64/python2.7/site-packages/mercurial/merge.py", line 383, in __contains__
    return dfile in self._state
AttributeError: 'mergestate' object has no attribute '_state'

This error shows with any repository I try. Any hints as to wjhat is going wrong here? I'm on CentOS 7. Retrieving Status with hg diff in a terminal works without problems.

Kind regards Michael

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking