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 829
    • Issues 829
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • 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
  • #5063
Closed
Open
Created Mar 28, 2018 by Bitbucket Importer@bitbucket_importerOwner

Rebase to dirty working copy: unknown command: "discard"

Created originally on Bitbucket by Mingun

After trying to rebase changeset to the last revision while working copy is dirty, rebase dialog appear with discard link. After click to that link appear error below.

#!python
    ** Mercurial version (4.5.2).  TortoiseHg version (4.5.2)
    ** Command: 
    ** CWD: D:\Programs\TortoiseHg
    ** Encoding: cp1251
    ** Extensions loaded: strip, mq, extdiff, hgsubversion, convert, svnbindings, rebase, hgk, histedit, 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\rebase.pyo", line 289, in linkActivated
      File "tortoisehg\hgqt\wctxcleaner.pyo", line 124, in runCleaner
    ValueError: unknown command: \"discard\"

PS. Very strange… TortoiseHg tell me that it was latest version (for actual version 4.0.0), but these have new version (4.5.2)… Anyway, bug reproduced in new version too.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking