Jump to content


Is there a way to diff all the files in a CL against the shelved files in the same CL?


  • Please log in to reply
1 reply to this topic

#1 WhatAboutP5V?

WhatAboutP5V?

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 15 March 2019 - 04:23 PM

Title is pretty much it. I'd like to be able to have an option in the context menu after right clicking on a pending CL to diff against shelved files but I don't see one. Is there some way to do this that I'm missing?

#2 Sambwise

Sambwise

    Advanced Member

  • Members
  • PipPipPip
  • 784 posts

Posted 20 March 2019 - 10:23 PM

From the command line I think you can do this with:

p4 diff FILE@=SHELF

You could potentially add this to P4V as a custom tool.  If you always want to diff against the shelved revision in the same change, you can pass the changelist in as the argument; otherwise your tool could prompt for the shelved change that you want to diff against.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users