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 838
    • Issues 838
    • 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 Paris conference scheduled ! Main event : 2022-09-22. Call for papers deadline: 2022-06-17.

  • mercurial
  • TortoiseHg
  • thgthg
  • Issues
  • #5713

Closed
Open
Created Apr 15, 2021 by Simon Sapin@SimonSapinDeveloper

AssertionError `clicked is not None` when cancelling update

Steps to reproduce:

  • Have a local repository with non-clean status
  • Open thg for that repository
  • Right click another revision and choose Update
  • Click Update in the popup window with options
  • See a "Detected uncommitted local changes in working tree." dialog
  • Click Cancel in it

Expected result: go back to one of the previous states

Actual result: yet another window appears, titled "TortoiseHg Bug Report", containing:

    #!python
    ** Mercurial version (5.7.1).  TortoiseHg version (5.7.1)
    ** Command: 
    ** CWD: /home/simon/hg
    ** Encoding: UTF-8
    ** Extensions loaded: strip, rebase, purge, convert, topic, evolve, histedit, patchbomb, phabricator, share, absorb, tortoisehg.util.configitems
    ** Python version: 3.8.5 (default, Jan 27 2021, 15:41:15) [GCC 9.3.0]
    ** System: Linux x1e 5.8.0-48-generic #54~20.04.1-Ubuntu SMP Sat Mar 20 13:40:25 UTC 2021 x86_64
    ** Qt-5.12.8 PyQt-5.14.1 QScintilla-2.11.2
    Traceback (most recent call last):
      File "/home/simon/thg/tortoisehg/hgqt/cmdui.py", line 648, in runCommand
        sess = self.__cmdwidget.runCommand()
      File "/home/simon/thg/tortoisehg/hgqt/update.py", line 401, in runCommand
        clicked = confirmupdate()
      File "/home/simon/thg/tortoisehg/hgqt/update.py", line 391, in confirmupdate
        assert clicked is not None  # help pytype
    AssertionError
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking