c# - get the n latest changelists in a specific period -
I want to get the latest 20 changes in this period. How do I modify options?
This is very important to me because I will collect some data from the data provided by Pratibal. Here is my code:
string deppath1 = "// obms / ..."; P4 Commands CM1 = New P4 Commands (ps, "change", true, string.format ("{0}", path 1); Option opchanges = new options (); Opchanges.Add ("2012/04/01", "Now"); P4 commodity result result 1 = cm1. Rhone (options); If (results1! = Null) console Wrightite ("ggh"); Tagged Object List Listed 1 = New Tagged Item List (); Listfiledown1 = (results1.TaggedOutput); Foreign exchange (listed in the tagged object obz 1) {foreach (obj.Keys in string s) {string value = "n / a"; Obj.TryGetValue (S, Out Price); Console.WriteLine (s + "+ value"); Console.WriteLine ("********"); }}
opchanges.Add ("- mn -u edk -s Submitted 2010-04/01 "," now "); n The number of changes you need to make
Comments
Post a Comment