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 834
    • Issues 834
    • 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
  • #4680

Closed
Open
Created Feb 04, 2017 by Bitbucket Importer@bitbucket_importerOwner

Adding multiple folders to a repository using Windows TortoiseHg causes a crash

Created originally on Bitbucket by Anonymous

Adding two folders and their contents to a local Mercurial repository using the Windows TortoiseHg File Explorer add-in causes the following bug report:

#!python
** Mercurial version (4.0.1).  TortoiseHg version (4.0.1)
** Command: --nofork add --listfile C:\Users\Mark\AppData\Local\Temp\THG2EAC.tmp
** CWD: C:\Users\Mark\Documents\Visual Studio 2015\Projects\XXX
** Encoding: cp1252
** Extensions loaded: hggit, eol
** Python version: 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-4.8.7 PyQt-4.11.4 QScintilla-2.9
Traceback (most recent call last):
  File "tortoisehg\hgqt\status.pyo", line 649, in run
  File "mercurial\localrepo.pyo", line 1844, in status
  File "mercurial\context.pyo", line 351, in status
  File "mercurial\context.pyo", line 1632, in _buildstatus
  File "mercurial\context.pyo", line 1601, in _dirstatestatus
  File "mercurial\dirstate.pyo", line 1145, in status
  File "mercurial\dirstate.pyo", line 772, in _dirignore
  File "mercurial\scmutil.pyo", line 1250, in __get__
  File "hggit\gitdirstate.pyo", line 128, in _ignore
  File "hggit\gitdirstate.pyo", line 101, in gignore
UnboundLocalError: local variable 'ignorefunc' referenced before assignment
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking