--TEST--
Perforce: Tagged Output
--SKIPIF--
<?php if (!extension_loaded('perforce')) die("skip\n");
--FILE--
<?php
require 'TestClientUser.php';
$ui = new TestClientUser();
$p4 = new PerforceClient($ui);
$p4->setPort('public.perforce.com:1666');
$p4->setProtocol('tag', '');
if (!$p4->init()) {
die("Failed to initialize Perforce client interface.\n");
}
$p4->setArgs(array());
$p4->run('info');
$p4->final();
$tags = $ui->GetTags();
echo $tags['serverAddress'] . "\n";
--EXPECT--
perforce.com:1666
# |
Change |
User |
Description |
Committed |
|
#1
|
6092 |
Jon_Parise |
Fixing support for tagged output.
We also now return all of the tags
(unfiltered) to the user's OutputStat() implementation. |
|
|