[p4] p4.net and diff2? / describe commands

Cooke, Simon scooke at surreal.com
Fri Jun 29 19:14:48 PDT 2007


Hey there;
 
Just wondering... anyone know how to get the context diff text out of
p4.net?
 
I've tried Run, and RunUnparsed, but no matter how I try to do it, I
can't get the actual context diff text for the file I'm trying to diff
from it.
 
Any ideas?
 
Here's what my current code does:
P4UnParsedRecordSet results = m_server.RunUnParsed("diff2", "-dcb",
m_strFilePath + "#" + m_iVersion, m_strFilePath + "#" + (m_iVersion -
1));

Si
 
--
Simon Cooke - Principal Gameplay Engineer - Surreal
Work: (206) 587 0505x163 Cell: (206) 250 7892 GamerTag: Spec Tec
Where am I? Whose yard is this? What on earth is this milkshake doing
here?
 


More information about the perforce-user mailing list