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 toworkingdir
Versions affected (tested):
- 3.7.2
- 3.6.3
Attachments: Repository.zip