I just finished merging down some changes from a parent stream into a child stream. Somehow the merge missed a bunch of new files in the parent that needed to be created in the child stream (and I didn't notice). So now the files exist in the parent but not in the child.
Now that I'm copying back up into the parent, it wants to delete all those missing files. I can't re-merge from parent to child because perforce says there are no outstanding changes to merge. How can I fix this?
Update
Here are the settings for force integration in p4v:
It sounds like when you did the merge, you opted to "ignore" (aka "accept yours" or "accept target" depending which UI you're using) the new files. This is essentially the same as if you ignore a changed a file during a merge; the child will retain the original (unmodified) version of the file, and when you copy back to the parent, the child's version will overwrite the parent's version, eliminating the changes that you ignored.
If the ignore was a mistake, you can use
p4 integrate -f
to force another merge/resolve. Alternatively, if you already know that you just want the child to have an exact copy of what's in the parent (i.e. you aren't trying to merge individual changes), you can usep4 copy -F
to copy in the "wrong" direction (from parent to child) so that the child will get the same version of the file that the parent currently has.