Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 Server Administration Documentation | 2025.1

# Scenario 1: You forgot to map a file

Suppose you wrote a new class in C++: `src/module/UserUtils.cpp` and it uses the header file `inc/UserUtils.h`. You then issue this command:

    p4 submit UserUtils.cpp

Your build script complains about the missing include file `UserUtils.h`. To fix this, you would issue the following commands:

    p4 unsubmit UserUtils.cppp4 resubmit -e

Now `UserUtils.cpp` is open. You would then run:

    p4 add -c NNN UserUtils.hp4 resubmit -Re

Where NNN is a changelist number.

Now the permanent history shows that your change contains both `UserUtils.cpp` and `UserUtils.h`.

Your search for returned results