You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Moving a file then adding a new file over the source of the move operation does not perform the correct move correction to the pending changelist.
To Reproduce
Steps to reproduce the behavior:
Move a file which is known by Perforce, say "a.txt" to "b.txt"
Add a new file to the source ("a.txt" in step 1).
As of 0.10.2, this only attempted to add the new file to the changelist, which caused an unreported Perforce warning. In 0.10.3, this attempts to revert the "a.txt", which fails, then adds in "a.txt", which is the same issue.
Expected behavior
The OpenFileStatus class needs to correctly report on the status for moved files, because these should be reverted together. Additionally, all consumers of the OpenFileStatus class need to include specialized logic for handling the moved files.
The text was updated successfully, but these errors were encountered:
groboclown
changed the title
Move file then add over moved source does not perform correct move correction
Move file then add over moved source does not perform correct move update
Jan 23, 2019
Describe the bug
Moving a file then adding a new file over the source of the move operation does not perform the correct move correction to the pending changelist.
To Reproduce
Steps to reproduce the behavior:
As of 0.10.2, this only attempted to add the new file to the changelist, which caused an unreported Perforce warning. In 0.10.3, this attempts to revert the "a.txt", which fails, then adds in "a.txt", which is the same issue.
Expected behavior
The
OpenFileStatus
class needs to correctly report on the status for moved files, because these should be reverted together. Additionally, all consumers of theOpenFileStatus
class need to include specialized logic for handling the moved files.The text was updated successfully, but these errors were encountered: