Details
-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
3.4.4
-
None
-
None
Description
Somehow, its possible to add Merge Commit into review now https://jira.atlassian.com/browse/FE-4004
However, the merge commit in branches other than master will produce duplicate files.
Steps to reproduce
- Let's start with branch master
- Create and checkout new branch ("feature")
- Commit changes in 'test.txt" file - "Changes in feature"
- Checkout master branch
- Commit changes in 'test.txt' file - "Changes in master"
- Checkout feature branch
- Merge changes from master into feature branch
- Fix the conflict and commit changes in 'test.txt' file - "Merge commit"
- Add the commits from steps 3 and 8 (both in feature branch) into a review
Duplicate files 'test.txt' appear in the review - Checkout master branch
- Create a new brach ("feature2") only, no need to checkout
- Commit changes in 'test2.txt" file - "Changes in master"
- Checkout feature2 branch
- Commit changes in 'test2.txt' file - "Changes in feature2"
- Checkout master branch
- Merge changes from feature2 into master branch
- Fix the conflict and commit changes in 'test2.txt' file - "Merge commit 2"
- Add the commits from steps 12 and 17 (both in master branch) into a review
This does not produce duplicate file 'test2.txt'
Attachments
Issue Links
- duplicates
-
CRUC-6806 files from different ancestry lines shown as duplicates
- Not Being Considered