Search code examples
c#perforcep4api.net

command change with perforce


in order to get list of change in specific period we use the command change

p4 changes @2001/04/01,@now 

i am using the p4api.net to get this list of changes so i have to use :

 P4Command cm1 = new P4Command(ps, "changes", true, String.Format("{0}", deppath1));

but the problem how can i specify the two options , i tried that and its not working please help me, for more help understand what i am looking for
How to find changelists submitted in the last week for a particular user using Perforce?


Solution

  • the p4 changes doesn't work in this case when we use p4api.net :

    p4 changes file.c@2010/05/01,2010/06/01 
    

    miss a blank between file.c and @ so cm1.addArg is not working in this case because it add a space and it will not be executed