PDA

View Full Version : how to get the P4 to revert unchanged files before submitting?


steve
03-05-2004, 02:19 AM
Hi,
When using a Perforce action, I cant set it up to revert any unchanged files before submitting them. The checkbox in the Perforce configuration tab is there, but never seems to be enabled no matter which command you set!

Is there something else that needs to be done before the checkbox is enabled?

BTW, I'm using 5.2

Cheers,
Steve.

kinook
03-05-2004, 08:17 AM
That checkbox is enabled only for the submit command when the 'Files/folders' field is empty.

gribble
03-29-2004, 07:39 PM
also remember you can run a separate step before you submit, doing a "p4 revert -a" to revert unchanged files. You can also use the -c to limit it to a numbered changelist