この期間の最新の 20 個の変更リストを取得したいと考えています。オプションを変更するにはどうすればよいですか?
perforce から提供されたデータからいくつかの統計を収集するので、これは私にとって非常に重要です。これが私のコードです:
string deppath1 = "//obms/...";
P4Command cm1 = new P4Command(ps, "changes", true, String.Format("{0}", deppath1));
Options opchanges = new Options();
opchanges.Add("2012/04/01", "now");
P4CommandResult results1 = cm1.Run(opchanges);
if (results1 != null)
Console.WriteLine("ggh");
TaggedObjectList listfiledown1 = new TaggedObjectList();
listfiledown1 = (results1.TaggedOutput);
foreach (TaggedObject obj in listfiledown1)
{
foreach (String s in obj.Keys)
{
String value = "n/a";
obj.TryGetValue(s, out value);
Console.WriteLine(s+""+value);
Console.WriteLine("********");
}
}