[p4] syntax for checkout in perl script
Jeff A. Bowles
jab at pobox.com
Tue Jul 15 22:27:48 PDT 2008
I am not sure what the exact question was - do you want to retrieve the
reference content from the server to compare against the local copy, or to
check out (making writable and ready to submit) the file?
If the first case, from a script, consider one of two options:
1. "p4 diff file" (there is a flag that says, force a diff for every
file, regardless of whether the file is opened)...
2. ... or, from your script, run "p4 print file" and compare the output
of this command against the local version.
On Mon, Jul 14, 2008 at 2:11 AM, <suprabha.bas at wipro.com> wrote:
> i want to checkout a file from any drive(C:\ or D:\).then i want to
> compare two file.what is the syntax
> for checkout in perl script (windows platform).
> Thanks & Regards
> Please do not print this email unless it is absolutely necessary.
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments.
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
> perforce-user mailing list - perforce-user at perforce.com
Jeff Bowles - jeff.a.bowles at gmail.com
More information about the perforce-user