Jump to content


Revert Command takes a lot time on Mac

revert mac command

  • Please log in to reply
1 reply to this topic

#1 panglidong123

panglidong123

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 11 September 2020 - 07:17 AM

Hi guys!
I am using python to process the automatic packaging of P4. Then I found the problem.
If the previous command reported an error, the execution time of Perforce's revert command on Mac will take up to more than 20 minutes, but it usually only takes 1 minute. If the same error occurs on Windows, it will only take 1 minute to perform the same operation.

#2 Sambwise

Sambwise

    Advanced Member

  • Members
  • PipPipPip
  • 1192 posts

Posted 11 September 2020 - 04:37 PM

What error did the previous command report?

Does this only happen within your script, or does it happen if you run the revert from a normal p4 client?  If you can reproduce it from the CLI, what does the "-Ztrack" performance tracking show that it's spending its time on?





Also tagged with one or more of these keywords: revert, mac, command

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users