/perforce_move_add_integrate_bug

Test case for problem in Perforce moving a file and then adding a new file with the same name

Primary LanguageShell

Overview

This script demonstrates a problem with P4 when integrating a file which has been moved and then re-added.

Step 1:

Create a directory "dev" in P4. Add a plain file "mdev.conf"

Step 2:

Integrate "dev" to "branched_dev". After this, branched_dev contains a copy of the file mdev.conf.

Step 3:

Rename mdev.conf. In a separate commit, add a new file, also called mdev.conf.

After this, we have 2 files, mdev.conf and mdev_initial.conf.

Step 4:

Integrate again from dev to branched_dev. We would expect that branched_dev is then identical to dev. But instead, the file mdev.conf is missing from branched_dev.