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
  • #4471
Closed
Open
Created Mar 23, 2016 by Bitbucket Importer@bitbucket_importerOwner

MQ: Wrong commit message shown when selecting working directory before applying second patch

Created originally on Bitbucket by thirteen (Andreas Bilger)

Scenario (see attached sample repository):

  • one changeset "Empty repository"
  • 3 unapplied patches: a ("AAA"), b ("BBB"), c ("CCC")

Reproduction Steps:

  • Changeset 0 is selected
  • Select Working Directory
  • Apply patch a
  • Changeset 1 with patch a is selected, commit message shows: "AAA" (correct)
  • Select Working Directory
  • Apply patch b
  • Changeset 2 with patch b is selected, commit message shows: "AAA" (BUG, should be "BBB")
  • Select Working Directory
  • Apply patch c
  • Changeset 3 with patch c is selected, commit message shows: "AAA" (BUG, should be "CCC")

The shown wrong commit message gets saved when clicking QRefresh. This can cause you to lose the original patch commit message.

The buggy behavior does not occur in the following circumstances:

  • if you do not select the Working Directory before applying the second/third patch
  • if your setting Workbench -> Initial revision is set to workingdir

Versions affected (tested):

  • 3.7.2
  • 3.6.3

Attachments: Repository.zip

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