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 837
    • Issues 837
    • 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
  • TortoiseHg
  • thgthg
  • Issues
  • #4384

Closed
Open
Created Dec 08, 2015 by Bitbucket Importer@bitbucket_importerOwner

Amend can not forget files

Created originally on Bitbucket by psuter (Peter Suter)

Steps to reproduce:

hg init
echo foo > foo.txt
echo bar > bar.txt
hg add foo.txt
hg add bar.txt
hg commit -m "Added foo and bar"
hg rm bar.txt
echo (but not bar) >> foo.txt
thg

Now in TortoiseHG switch to "Amend" mode, modify the commit message and click the Amend button.

Expected behavior: The changeset should not contain bar.txt anymore.

Actual (wrong?) behavior: The changeset still contains bar.txt.


A similar problem is adding a file, commit, renaming it, amend. It does not seem possible to amend the changeset in such a way that only the renamed file is added.

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