- edited description
Crash with ProgrammingError: unsupported changeid 'xxxxx' of type <type 'str'>
Tortoise HG crashes when I try to commit to a separate branch ('anton'). The issue looks like a duplicate for #5162, but it's not resolved in 4.7.1 for me.
Here is the stack trace:
#!python ** Mercurial version (4.7.1). TortoiseHg version (4.7.1) ** Command: ** CWD: C:\Program Files\TortoiseHg ** Encoding: cp932 ** Extensions loaded: shelve, mercurial_extension_utils, mercurial_keyring, churn, 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=2, build=9200, platform=2, service_pack='') ** Processor architecture: x64 ** Qt-5.9.2 PyQt-5.9.1 QScintilla-2.10.2.dev1711012104 Traceback (most recent call last): File "tortoisehg\hgqt\commit.pyo", line 600, in mqPerformAction File "tortoisehg\hgqt\commit.pyo", line 973, in commit File "tortoisehg\hgqt\commit.pyo", line 572, in getBranchCommandLine File "tortoisehg\hgqt\thgrepo.pyo", line 772, in __getitem__ File "mercurial\localrepo.pyo", line 856, in __getitem__ File "mercurial\context.pyo", line 439, in __init__ ProgrammingError: unsupported changeid 'anton' of type <type 'str'>
Comments (19)
-
-
- changed status to resolved
commit: use scmutil.revsymbol() to look up existing branch (fixes
#5226)Maybe it shouldn't look for the other namespaces such as bookmarks, but this is exactly what we did before.
→ <<cset 0a672eb4d129>>
-
Issue
#5230was marked as a duplicate of this issue. -
Issue
#5235was marked as a duplicate of this issue. -
Issue
#5236was marked as a duplicate of this issue. -
Issue
#5239was marked as a duplicate of this issue. -
Issue
#5240was marked as a duplicate of this issue. -
Issue
#5242was marked as a duplicate of this issue. -
So what can I do. Issue
#5226RESOLVED At 2018-09-21 and i can get only 2018-09-16 Install MSI. So TortoiseHG don't work for me.Thanks Zoran
-
Like Zoran mentioned above, I am getting the same error, and thus cannot commit anymore, however I can see someone made the same named branch in the past and then closed it. If this would help as well.
But the fact that I cannot commit anymore is quite blocking... Is there a workaround for this? Or can I download a nightly myself? Or should I follow the guide to create my own 'nightly'?
Apparently same as issue
#5246 -
Not sure if it's completely safe, but downgrade to 4.6.1 (latest stable version for now) solved the issue. Looking forward to 4.7.2 with the fix for this issue.
-
Yes, I did exactly the same, reverting to 4.6.1 solved the issue. But sadly I upgraded to 4.7.x because of a different issue in 4.6.1, no sure anymore which issue. So let us hope it does not happen again.
-
Issue
#5246was marked as a duplicate of this issue. -
OK. I must say too. I was forced too to downgrade my favorite tool.... LP
-
Issue
#5255was marked as a duplicate of this issue. -
The bug still exist - can't commit to default branch, when tip revision is in another:
#!python ** Mercurial version (4.7.1). TortoiseHg version (4.7.1) ** Command: ** CWD: C:\Windows\system32 ** Encoding: cp1251 ** Extensions loaded: histedit, notify, rebase, relink, record, share, shelve, strip, transplant, hgflow, keyword, largefiles, extdiff, fetch, 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\commit.pyo", line 600, in mqPerformAction File "tortoisehg\hgqt\commit.pyo", line 973, in commit File "tortoisehg\hgqt\commit.pyo", line 572, in getBranchCommandLine File "tortoisehg\hgqt\thgrepo.pyo", line 772, in __getitem__ File "hgext\largefiles\reposetup.pyo", line 47, in __getitem__ File "mercurial\localrepo.pyo", line 856, in __getitem__ File "mercurial\context.pyo", line 439, in __init__ ProgrammingError: unsupported changeid 'default/Leveler' of type <type 'str'>
-
The issue is fixed. The next version (4.7.2) of TortoiseHg will include it.
-
Good job! Thank you!
-
Issue
#5265was marked as a duplicate of this issue. - Log in to comment