Jump to content


sabibo

Member Since 02 Aug 2019
Offline Last Active Sep 03 2019 03:09 PM
-----

Topics I've Started

Does p4.exe wait until finished before returning?

02 August 2019 - 07:09 PM

Hello,

  I have a batch script which calls edit on a bunch of binary files, then compiles them, and then reverts the unchanged files before submitting. I keep getting this problem where all, or most, of the files are submitted even though they are unchanged.

It doesn't seem to happen if I pause in the debugger between the revert and the submit.  That leads me to wonder if somehow the revert process is returning before it is actually finished, and then the submit is submitting a bunch of files that should have been reverted.
Could that be happening?  Or does the command line revert not return until it is totally finished?

Thanks!