Public bug reported:

I recently updated from Ubuntu 25.10 to Ubuntu 26.04. Since then, TortoiseHg no 
longer starts with the following error being displayed:
```python
** Mercurial version (7.2).  TortoiseHg version (7.0.1)
** Command: --nofork
** CWD: /home/osboxes
** Encoding: UTF-8
** Extensions loaded: 
** Python version: 3.14.4 (main, Apr  8 2026, 04:02:31) [GCC 15.2.0]
** System: Linux mmuetzel 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed 
Apr 22 16:06:43 UTC 2026 x86_64
** Qt-5.15.18 PyQt-5.15.11 QScintilla-2.14.1
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/tortoisehg/hgqt/run.py", line 143, in 
dispatch
    return _runcatch(u, args)
  File "/usr/lib/python3/dist-packages/tortoisehg/hgqt/run.py", line 348, in 
_runcatch
    hglib.parseconfigopts(ui, args)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/tortoisehg/util/hglib.py", line 1056, in 
parseconfigopts
    config = dispatchmod._earlyparseopts(ui, args)[b'config']
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib.util>", line 224, in __getattribute__
AttributeError: module 'mercurial.dispatch' has no attribute '_earlyparseopts'. 
Did you mean: '_earlysplitopts'?

```

See also the following bug report in upstream TortoiseHg which seems to 
summarize the issue pretty well:
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/work_items/6042

TortoiseHg 7.0.1 is incompatible with Mercurial 7.2.

Please, consider cherry-picking the following commits from upstream:
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/commit/37f012cb22ec4faf6f606623294f620d72460d20
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/commit/f2490624e622ef40c02ac6ef7895aceb2b311366
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/commit/d53f631f30323d02c61cd9863b2b0cd55fccef63
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/commit/edb6a9b390eb7f58921f27dae285b8b235bc9acf
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/commit/573e7cfcc152272febdd15963263bf60956f0b4b

Or update to a current head of the upstream repository until a new
version of TortoiseHg is released which adds compatibility with
Mercurial 7.2.

** Affects: tortoisehg (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2155284

Title:
  TortoiseHg does not start in Ubuntu 26.04 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tortoisehg/+bug/2155284/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to