Details
-
Bug
-
Resolution: Answered
-
Low
-
None
-
None
-
None
-
Severity 3 - Minor
-
Description
Summary
When adding a new commit to an existing review, if the commit contains a file, for which a previous commit, also added to this review, have been removed, the file gets duplicated in the review.
Environment
- Observed for Git repositories.
Steps to Reproduce
- Create a commit, adding a file to it (e.g. TestFile.java).
- Create a new review, adding the commit previously created to the review.
- Remove the commit previously created from your Git repository, then let Crucible index the change. This commit can be removed by a rebase/force push.
- Create a new commit that also contains the file TestFile.java.
- Add this new commit to the review.
Expected Results
- Crucible identifies there has been a change to TestFile.java and adds a new iteration for this file to the review.
Actual Results
- Crucible adds TestFile.java as a new file, and the file appears duplicated in the review.