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
  • #5700

Closed
Open
Created Mar 15, 2021 by Carl Reinke@carlreinke

Rebase throws ProgrammingError: unsupported changeid of type <type 'str'>

#!python
** Mercurial version (5.7.1).  TortoiseHg version (5.7.1)
** Command: rebase -s 1 -d 2
** CWD: D:\Desktop\temp
** Encoding: cp1252
** Extensions loaded: absorb, convert, histedit, strip, mq, purge, rebase, tortoisehg.util.configitems
** Python version: 2.7.18 (v2.7.18:8d21aa21f2, Apr 20 2020, 13:25:05) [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.9 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
  File "tortoisehg\hgqt\run.pyo", line 138, in dispatch
  File "tortoisehg\hgqt\run.pyo", line 342, in _runcatch
  File "tortoisehg\hgqt\run.pyo", line 436, in runcommand
  File "tortoisehg\hgqt\run.pyo", line 488, in _runcommand
  File "tortoisehg\hgqt\run.pyo", line 441, in checkargs
  File "tortoisehg\hgqt\run.pyo", line 435, in <lambda>
  File "tortoisehg\hgqt\qtapp.pyo", line 471, in __call__
  File "tortoisehg\hgqt\qtapp.pyo", line 535, in _createdialog
  File "mercurial\util.pyo", line 1867, in check
  File "tortoisehg\hgqt\run.pyo", line 1162, in rebase
  File "tortoisehg\hgqt\rebase.pyo", line 74, in __init__
  File "tortoisehg\hgqt\csinfo.pyo", line 38, in create
  File "tortoisehg\hgqt\csinfo.pyo", line 105, in __call__
  File "tortoisehg\hgqt\csinfo.pyo", line 427, in __init__
  File "tortoisehg\hgqt\csinfo.pyo", line 383, in __init__
  File "tortoisehg\hgqt\csinfo.pyo", line 418, in update_ctx
  File "tortoisehg\hgqt\thgrepo.pyo", line 821, in __getitem__
  File "mercurial\localrepo.pyo", line 1837, in __getitem__
ProgrammingError: unsupported changeid '1' of type <type 'str'>

Steps to Reproduce

$ hg init

$ echo a>test.txt

$ hg add .
adding test.txt

$ hg commit -m a -u u

$ echo b>test.txt

$ hg commit -m b -u u

$ hg up -r 0
1 files updated, 0 files merged, 0 files removed, 0 files unresolved

$ echo c>test.txt

$ hg commit -m c -u u
created new head

$ thg rebase -s 1 -d 2
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking